by ashton314 on 6/17/21, 4:16 PM
I love the `|` matching anywhere in a pattern. That will certainly cut down on a lot of code and improve readability.
by divtiwari on 6/17/21, 3:41 PM
Should one learn Rust, lets say after 3-4 years, i.e by mid 2020s, once it becomes more mainstream? The syntax of Rust is a mix of OCaml/C++ and I feel some of the concepts are very esoteric for a normal enterprise Java/C#/JS/Python developer, so it takes a lot of cognitive overload to master it. So is it worth learning now or later?
by GolDDranks on 6/17/21, 3:32 PM
At last, I'm able to pass bona fide stack-allocated iterators of a few elements into things. I'm very happy with this newly gained array neatness.
by BelenusMordred on 6/17/21, 3:14 PM
> Identifiers can now contain non-ascii characters. All valid identifier characters in Unicode as defined in UAX #31 can now be used. That includes characters from many different scripts and languages, but does not include emoji.
Don't despair fellow emoji devs, our time will come soon enough.
by nonameiguess on 6/17/21, 6:19 PM
I just recompiled rustc on my Linux From Scratch desktop. I guess I should have timed it, but it sure felt a lot faster. Finished when I wasn't even paying attention.
Went from 9 failed tests on 1.52.1 to 13 on 1.53.0.
I'm not expecting Firefox to compile, but that's entirely on Mozilla.
by ostenning on 6/17/21, 9:06 PM
I love the non-ascii character support although for me as an English speaker I wouldn't use it, but I'm sure there many Asian teams that would appreciate these changes
struct 人 {
名字: String,
}
by Svetlitski on 6/17/21, 11:22 PM
Sweet, cmp::min_by_key and cmp::max_by_key have finally been stabilized. Was sorely missing this little convenience in Rust, as it helps express a particular idea more clearly and succinctly.
Also the improvement to compile times on macOS due to the change in how debug info is stored is a nice productivity boost.
by sakawa on 6/17/21, 8:10 PM
I'm a little OT (sorry), but I am wondering if is there a way to learn Rust while keeping up with the changes made from last edition (Rust 2018, which is 1.31)?