Re:Why Rust for Low-Level Linux Programming?
by pornel on Friday June 10, 2016 @07:12PM
(#11880897)
Like in C you can cast the pointer to an integer and back. Rust allows such hacks if you mark them with a "hold my beer" keyword:
You can also use `std::mem::forget(*pointer)` to avoid fighting with Rust about who manages the memory.
[ Parent
| on HN ]