Zero Out Of Ten
In a recent talk at Cambridge University, Bjarne Stroustrup presented this slide to his audience:
Although lots of hard work has been performed by some very smart people over the years in developing these features, Mr. Stroustrup (sadly) went on to say that none of them will be present in the formal C++17 specification. The last sentence on the slide succinctly summarizes why.
Categories: C++17
Bjarne Stroustrup, C++17
You may want to get ahead of the language curve and invest some time in the Mozilla backed successor to all things C. It is called Rust and it already does the wish list and more and compiles it’s own source to machine code with no intermediate C output.
Will do, Thanks. C++ compiles directly into machine code too. Has been that way for a long time.
Read the Rust feature list and let me know what you think. I showed it to another C++ guy and he was blown away by the computer science programming problems it it solves in the design and implementation of the Rust language so you don’t have to eben think about things like global interpreter locks, buffer overruns, thread safety, writing edge case tests, and getting a laundry list of Ruby/Perl like features while still getting bare metal performance. I stumbled across a presentation on Rust via a meetup that was the tail end of the Rust conference.
Rust is indeed technically slick, like D. Both of those languages have a huge political and financial mountain to climb to unseat the establishment languages: C and C++. For example, I work in a defense company and we use C++ (and Ada) on the inside and Java on the periphery for our large scale projects. Our defense customers are comfortable with those languages and we have hundreds of highly trained C++/Java engineers. Executives at companies like mine understandably don’t think the technical gains would offset the social turmoil and work slowdown that would result from retraining their workforce in a new, technically superior language like Rust.
In making sweeping decisions that affect core capabilities, technical factors often take a back seat to financial and social factors.