News for hackers. Stuff that matters.
Re:Rust 1.17 by vertex-four on Friday April 28, 2017 @06:52AM (#14218356)
Actually... the counterpart to the C++ new operator would be the perfectly safe `Box::into_raw(Box::new(whatever))` - along with its counterparts on other smart pointer types - and there may be a heap module one day[0] - but your point stands that this is not the "default" way of allocating.

[0] https://doc.rust-lang.org/alloc/heap/

There are no comments on this comment yet.