4 ms·
You don't need Rust's complexity and borrow checking to protect you from data races. Actor model does that without the bad parts.
by zzzcpan 7y 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.
- hderms 7y agoThat'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
- zzzcpan 7y ago> 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.