You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before we talk about the concurrency features that come with Rust, it's important to understand something: Rust is low-level enough that all of this is provided by the standard library, not by the language. This means that if you don't like some aspect of the way Rust handles concurrency, you can implement an alternative way of doing things.
Atomics are a language feature that the compiler (LLVM) has to have a deep understanding of in its optimization passes.
Send and Sync are also opt-in-built-in-traits, which makes them a pseudo-language construct.