Re:totally_safe_transmute, Line-by-Line (2021)
by throwaway0665 on Monday January 08, 2024 @07:17PM
(#38920536)
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.
[ Parent
| on HN ]
Re:totally_safe_transmute, Line-by-Line (2021)
by lifthrasiir on Tuesday January 09, 2024 @01:32AM
(#38923089)
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.