News for hackers. Stuff that matters.
Re:Orange_slice: Research Kernel and Hypervisor in Rust by glennpratt on Friday April 12, 2019 @10:50AM (#19645242)
I guess that's debatable, your point is that code that should be unsafe might not be, but then that did mean the unsafe code is wrong in a sense. It assumes an invariant that isn't enforced.
Re:Orange_slice: Research Kernel and Hypervisor in Rust by oconnor663 on Friday April 12, 2019 @10:59AM (#19645331)
Some people describe it as unsafe code "infecting" its containing module. This section of the nomicon goes into more detail: https://doc.rust-lang.org/nomicon/working-with-unsafe.html