logoalt Hacker News

tenderfaulttoday at 8:32 AM1 replyview on HN

funny, I think the same about rust.


Replies

tialaramextoday at 10:40 AM

(Safe) Rust is a lot better about the "Pit of Success" design than C++

There are fundamental technical choices to deliver that, but also ergonomic things like notice Rust's []::sort is a stable sort, whereas C++ std::sort is an unstable sort. If you don't know about sort stability in Rust what you wrote works and in C++ you get a nasty surprise.

show 1 reply