3 ms·
A lot of people using C++ don't actually use any libraries. I've observed the opposite with Rust. People choose C++ because it's a flexible language that lets
by mgaunard 1y ago
A lot of people using C++ don't actually use any libraries. I've observed the opposite with Rust.
People choose C++ because it's a flexible language that lets you do whatever you want. Meanwhile Rust is a constrained and opinionated thing that only works if you do things "the right way".
- tialaramex 1y ago> People choose C++ because it's a flexible language that lets you do whatever you want. You went on a bit too long. C++ lets you do whatever. Whether you wanted that is not its concern. That's handily illustrated in Matt Godbolt's talk - you provided a floating point value but that's inappropriate? Whatever. Negative values for unsigned? Whatever. This has terrible ergonomics and the consequences were entirely predictable.
- mgaunard 1y agoIt's just strong typing. You can do it in C++ too.