2 ms·
I read this recently and found it weird that it ends by saying Rust enables message-passing. It sort of seems like the opposite. Rust will fight you to the deat
by anonymoushn 4y ago
I read this recently and found it weird that it ends by saying Rust enables message-passing. It sort of seems like the opposite. Rust will fight you to the death to ensure you don't have concurrency bugs even in single threaded applications or applications in which threads only communicate by copying data into and out of queues. When you do copy the data, it will insist that you use its global allocator containing synchronization primitives instead of a per-thread allocator.