News for hackers. Stuff that matters.
Re:Why Rust for Low-Level Linux Programming? by FreeFull on Friday June 10, 2016 @09:01PM (#11881396)
You can actually turn a pointer into an usize without using an unsafe block. For example, here's how you'd do it with a reference:

    let the_bits = pointer as *const _ as usize;

There are no comments on this comment yet.