Re:Reenix: Implementing a Unix-Like Operating System in Rust...
by steveklabnik on Tuesday April 28, 2015 @09:18AM
(#9452042)
You don't _generally_ do arbitrary pointer arithmetic in Rust. You can, with the 'raw pointer' type, but this paper attempted to use all of Rust's higher-level features. Raw pointers need `unsafe` to dereference, and unless you're doing something like this, aren't generally needed, so are 'discouraged' in a certain sense.
Why would that be discouraged, and what would be the "Rust way"? That sounds like the simplest, most straightforward way to do it.