DEV Community

Discussion on: Comparing error handling in Java, Go and Rust.

Collapse
 
legolord208 profile image
jD91mZM2

Ey, that's cool! I never really used C++, but it looks a lot like Rust :D

Collapse
 
rkfg profile image
rkfg

They're getting closer though Rust has the borrow checker and lacks a modern IDE. For C++ I use Eclipse CDT, it's almost perfect. Overall, C++14 (as 17 is not yet supported everywhere) is pretty good, it has almost everything you'd expect from a modern lanugage like lambdas, type inference (including function parameters type in declaration!), memory effective "move semantics", automatic memory management with smart pointers, null safety and so on. I get segfaults even less often than I get NPEs in Java! Some bits and pieces like coroutines and advanced date-time operations are covered by Boost. Unlike many other languages, with C++ you'll get C libs support for free and that's a lot of useful code. Give it a shot, it's worth it.

Thread Thread
 
legolord208 profile image
jD91mZM2

There is an IntelliJ Rust plugin AFAIK, and I use vim either way.