Hacker News new | ask | show | jobs
by zzzcpan 2525 days ago
You don't need Rust's complexity and borrow checking to protect you from data races. Actor model does that without the bad parts.
1 comments

That's true but actor model achieves freedom from data races by forcing ALL messages to be synchronized. This can be useful in some situations but imo isn't a panacea for concurrency issues
> ALL messages to be synchronized

I'm assuming you mean implementation-wise. Only cross-core communications need synchronization and since messages are asynchronous you can pay synchronization costs only ones for the whole batch.