Hacker News new | ask | show | jobs
by hypeatei 535 days ago
> necessarily a better choice than modern C++ for someone starting a new project.

Almost certainly but it depends on what you're making. If it's something that requires huge object graphs and GC then you'll probably have a bad time in Rust.

The compiler guarantees, dependency management, and modern toolchain is miles ahead of C++. I find that you have to be a wizard in multiple areas that don't necessarily involve programming when you're working on a C++ project. This comes on top of being a wizard in the language itself since it's huge and the std library has warts due to the "ABI compatibility over everything" mindset.

1 comments

While not cargo level, vcpkg and conan + cmake help a lot, with much better compilation times, due to support for native libraries.

Still looking forward to the day cargo offers similar capabilities, without having to follow something like the whole Bevy setup.