Comment by bluecalm
13 hours ago
The point is not that those specific implementations use unsafe Rust but to illustrate that to write even basic data structures you need unsafe Rust.
13 hours ago
The point is not that those specific implementations use unsafe Rust but to illustrate that to write even basic data structures you need unsafe Rust.
That's just false. You can use `Arc` or even one of the safe GC crates available, and get semantics like Java with no `unsafe`.