Re:The memory models that underlie programming languages (2016)
by littlestymaar on Thursday June 10, 2021 @11:48AM
(#27462078)
> And Rust doesn't assume threading either. The default stuff isn't even thread safe
Right, and Rust doesn't even know what a thread is actually. It's all implemented in the standard library. The only thing Rust know, is that there exist some special Traits (Send and Sync) which are automatically implemented if a struct field implements it itself. And that's it.
Right, and Rust doesn't even know what a thread is actually. It's all implemented in the standard library. The only thing Rust know, is that there exist some special Traits (Send and Sync) which are automatically implemented if a struct field implements it itself. And that's it.