3 ms·
If it's too difficult for you to use, then use another language which holds your hand more. But for many of us, it's an incredibly powerful language and there i
by kitsuac 10y ago
If it's too difficult for you to use, then use another language which holds your hand more. But for many of us, it's an incredibly powerful language and there isn't really anything comparable when you need to squeeze every instruction cycle out of the CPU while still using HLL features. I don't find it difficult at all to use. Sure it's complicated, but not everything worth doing is trivially simple.
- santaclaus 10y ago> there isn't really anything comparable when you need to squeeze every instruction cycle out of the CPU while still using HLL features Rust seems like a promising alternative in the future.
- AdamJacobMuller 10y ago> promising alternative Agreed, but, sometimes people need to do stuff RFN. And sometimes that doesn't leave time for learning new things, even if they might be somewhat better. And edit to add that I think rust, in particular, is doing some very interesting things to hugely reduce the learning curve and make it a better language for newcomers.
- deleted 10y ago[deleted]
- Retra 10y agoI pretty much only program in C++ at work and Rust at home now, and I think Rust is hands-down a better designed language. It just feels more coherent and consistent. I used to despise C++, but ever since I've had to abandon all usage of it's std library, I don't mind it anymore. It's a bit less crufty that way. Though I'm still peeved every time the compiler dumps 30 pages of every virtual method in existence because it couldn't find one that matched my call.
- dom0 10y ago> I pretty much only program in C++ at work and Rust at home now, and I think Rust is hands-down a better designed language. It just feels more coherent and consistent. C++ turned out kinda... good -- considering that it started out as "tacking classes on C".
- Koshkin 10y agoClasses (with destructors) is the single most powerful and important addition to plain C. In C, even exceptions can be emulated, more or less naturally, but destructors cannot (without a compiler-specific extension). So, I'd argue that the best parts were the ones that came in early. The latest version of C++, of course, is nothing to sneeze at, either.
- svckr 10y agoAgreed. RAII is something I miss deeply in many other languages.
- Koshkin 10y ago> abandon... std library You are bound, then, "to reimplement it, poorly."
- Retra 10y agoNah, my coworkers did that 30 years ago. :)
- santaclaus 10y agoThe EA STL is competitive with the standard library!