Reply to post: Re: Thread Safety ?

Is it time to retire C and C++ for Rust in new programs?

sneed

Re: Thread Safety ?

You have this same freedom in Rust. You can use Mutex, RwLock, MPSC channels, atomics etc. The compiler just prevents you from NOT using these synchronisation primitives when multithreading.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon