2 ms·
Message passing is a couple of atomic operations, and there are also L4-esque optimizations that allow a message send to be optimized into a direct context swit
by pcwalton 13y ago
Message passing is a couple of atomic operations, and there are also L4-esque optimizations that allow a message send to be optimized into a direct context switch without a pass through the scheduler.
Also, you can use shared memory in Rust. If you do, the type system ensures there can be no data races: either the data is immutable or you must take the lock before you mutate the data.
- mratzloff 13y agoThat's pretty nice. I've been waiting for Rust to stabilize before I bother learning it... It's been taking awhile, though. :-)