Comment These groups are suggesting locking out C++ (Score 1) 220
DG OPINION ON SAFETY FOR ISO C++
Quote:
The NIST and NSA declaration could lead to several possible outcomes:
non-government entities might ignore government directive AND/OR,
government directive locks C++ out of certain market, and indirectly leads to a push away from
C++
Nobody knows which way this will go, and there could be other outcomes we have not anticipated. The
rest of this paper will champion that we stay calm and true to ourselves, and this is better than a
reactive jump on the bandwagon
---------
Obviously those leading the standards committee have been caught with their pants down on safety. They've "thought idly" about it but haven't bothered to really take it seriously, and now it's about to bite them in the ass in terms of government and international entities steering development away from C++, or actually locking it out even.
This has been an issue for C and C++ for decades, and a critical issue for more than 20 years (or more). Though the language is "safer" it is only as a side effect of efforts to simply reduce crashes and buffer overflows, and not to actually secure the language in general from abuse by bad actors via ensuring memory/type safety across the board as a goal in and of itself.
At this point it's unlikely that the group that steers C++ can do enough to secure the language at the level these government and international entities would consider acceptable particularly when working alternatives like Rust and others are available. But who knows what can be done if they put their minds/full effort behind taking this seriously. However given past history I doubt this can ever be a priority as it's simply not an area of work that C or C++ engineers seem to value. And if that's the case the inevitable locking out of C and C++ form an increasingly larger slice of the software stack is probably inevitable.
This comment isn't intended as any endorsement of Rust (which I don't use). Consider it an "I told you so" for C and C++ (which I do use).