News for hackers. Stuff that matters.
Re:Rust 1.17 by steveklabnik on Thursday April 27, 2017 @02:01PM (#14213493)
In Rust's case, to be clear, they're stored in .rodata. That's where the &'static str points to.

The auto copy to the heap behavior is controversial, desired by many for ergonomic reasons, disliked by others for implicit heap allocation. We'll see if it gets added in the future or not!

Re:Rust 1.17 by vvanders on Thursday April 27, 2017 @02:06PM (#14213536)
Yeah, you'd find me in the latter camp for sure :).

Thanks for the details, it's appreciated.