logoalt Hacker News

bluecalmyesterday at 8:43 PM1 replyview on HN

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.


Replies

afdbcreidyesterday at 10:03 PM

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`.