3 ms·
Rust 1.31 shipped a specific feature that was proposed right from the start of the lexical lifetimes, since well before 1.0. People have wanted it since first h
by Tuna-Fish 8y ago
Rust 1.31 shipped a specific feature that was proposed right from the start of the lexical lifetimes, since well before 1.0. People have wanted it since first hearing about it, but it just turned out to be much more difficult to implement correctly than first estimated.
> Were all rust users really naive/dumb to think that rust 1.29 was any good at all? Only 2 months later they never want to write Rust 1.29 ever again!
Rust 1.29 was fast and secure, but it also was annoying to write. Lexical lifetimes forced the structure of your code into a shape that sometimes required unnatural contortions. Basically everyone who wrote code in it could tell that something was definitely wrong. We still used it, because the other things Rust provided was worth the contortions. It was just a tradeoff you had to make. NLL, provided in 1.31, essentially removes the problem, making the other side of the tradeoff free. While previous versions of the Rust weren't horrible, 1.31 is massively better than them.