by pphysch · 3y ago · 0 comments
C++ has a legendary ecosystem, and many great modern language features for writing safe maintainable code, but the antiquated approach to header files makes it painful to learn and unproductive.
I'm not expecting C++ to go away, and in fact I actually like working in both C++ and Rust (though prefer Rust) so don't much care. But I don't think the addition of modules is going to lead to a resurgence in the language overall.
And the big win IMO is just that it makes it easier to get a MVP off the ground, whether or not it is backed by module-compatible external libraries. The C++ dependency/build story is not that miserable nowadays with modern CMake, git submodules, vcpkg, etc.
C might survive Rust?, but I think C++ is toast.
Made available on CUDA by NVidia?
Made available on Playstation SDK by Sony?
Made available on HPC clusters and compiler toolchains by the respective research labs?
There so many use cases for C++ that Rust still doesn't have a sound story as replacement.