4 ms·
Author here! C++ has serious problems. Linus Torvalds agrees. Bryan Cantrill agrees. Many, many experienced systems programmers agree. Rust solves many of the
by thecodedmessage 4y ago
Author here!
C++ has serious problems. Linus Torvalds agrees. Bryan Cantrill agrees. Many, many experienced systems programmers agree. Rust solves many of the problems with C++, as a systems programming language. That is the scope of my argument.
I am not really sure in the modern software development world what problem dynamic linking of stdlib solves, especially since so much of stdlib would be monomorphized and/or inlined. C++ with any level of templates is far more unfriendly to dynamic linking -- and again, that is the only language of comparison in scope for this article.
- synergy20 4y agoAda solved all those problems decades ago, it did not fly. C++ ran on rockets to the space, Rust has not yet. I don't even know any major projects or products are done with Rust for the last 16 years. "There are only two kinds of languages: the ones people complain about and the ones nobody uses".
- thecodedmessage 4y agoAda and Rust aren’t really comparable, and more importantly Ada and C++ aren’t really comparable. The key feature of Rust isn’t that it’s safe — many programming languages are, after all. The key feature of Rust is that it manages to have an explicit safe subset while maintaining C++’s goals of sophisticated zero-cost abstraction.