Hacker News new | ask | show | jobs
by api 893 days ago
This is a really weird hack to say the least. More like a flex showing that the author can implement transmute without unsafe than something you’d really use.
1 comments

The point is likely to show that Rust's "safety" is not absolute and it's possible to do lots of silly stuff with "safe" code.
Absolute safety would require a totally managed runtime with least privilege, not a 1970s Unix derivative.
That's true but this particular crate exists to show an unevitable hole in the definition of memory safety, while you can do lots of stupid things (like, `rm -rf /`) only with absolutely safe code.