News for hackers. Stuff that matters.
Re:Pessimism about parallelism by fooker on Thursday December 27, 2018 @03:39AM (#18768317)
> Other languages won't tell you if you forgot to use the mutex somewhere.

Languages like C++ and D treat this as a library design challenge, not a core language feature. Look at std::lock_guard, for example.

Re:Pessimism about parallelism by pornel on Thursday December 27, 2018 @06:20AM (#18768861)
The Rust language doesn't know anything about locking, or even threads.

The thread safety is built using Send/Sync traits, which libraries for threading and synchronization primitives, atomics, etc. implement accordingly.