Hacker News new | ask | show | jobs
by delta1 1839 days ago
Check out Actix for Rust
2 comments

I'm currently trying out Bastion (also Rust) in a project and while I still have more to learn I must say: multithreading never felt this simple. Sending data between actors feels as easy as defining onclick listeners in JS, but with added benefits like typing and pattern matching on messages. Panicking threads are restarted so instantly by default I only notice it via their loss of state. And everything that I usually found cumbersome in that area is just...gone.

Regarding your recommendation of Actix: according to its website it seems to be mainly a web framework?

Actix Web is built on top of Actix

https://docs.rs/actix/0.12.0/actix/

Huge difference between Erlang and another language shoehorning concepts into it.