Y
Hacker News
new
|
ask
|
show
|
jobs
by
tele_ski
296 days ago
The suggestion is c# class vs struct basically, with explicit globals which are just class with synchronization
1 comments
kibwen
296 days 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.
link