top | item 44985539 (no title) tele_ski | 6 months ago The suggestion is c# class vs struct basically, with explicit globals which are just class with synchronization discuss order hn newest kibwen|6 months ago Note that items declared as `static` in Rust are already globals that require synchronization (in Rust terms, static items must implement `Sync`), although they're located in static memory rather than on the stack or heap.
kibwen|6 months ago Note that items declared as `static` in Rust are already globals that require synchronization (in Rust terms, static items must implement `Sync`), although they're located in static memory rather than on the stack or heap.
kibwen|6 months ago