Hacker News new | ask | show | jobs
by minetest2048 602 days ago
https://chadaustin.me/2024/10/intrusive-linked-list-in-rust/

HN discussion: https://news.ycombinator.com/item?id=41944121

While we at it, someone argued that Zig is nicer than unsafe Rust: https://zackoverflow.dev/writing/unsafe-rust-vs-zig/

1 comments

Thank you, appreciated!
To add on, unsafe Rust's main strength is the tools and the culture of encapsulating it well. It's probably the case that "well designed code that uses unsafe" is much safer overall, as you would expect for a memory-safe language. But it doesn't just come about from using unsafe.