News for hackers. Stuff that matters.
Re:State of Rust 0.11.0 by kzrdude on Wednesday July 16, 2014 @04:27AM (#8041079)
The problem is that the string story is on two sides of a barrier erected in Rust very much by intention: To make memory allocation explicit, and to enable allocation-free operations as far as possible

This is why Rust will have you juggle String (a string with allocation) and &str (a "string slice"; a view into an allocation elsewhere) all the time.

There are no comments on this comment yet.