“The development of new product lines for use in service of critical infrastructure or [national critical functions] NCFs in a memory-unsafe language (e.g., C or C++) where there are readily available alternative memory-safe languages that could be used is dangerous and significantly elevates risk to national security, national economic security, and national public health and safety.” Now that's a strong statement.…
Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
11–20 of 100 posts
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#12Surely there is going to be an enormous list of exemptions submitted and approved immediately. My quick skim did not make this clear: is this for software only or would hardware appliances also count? Routers, modems, PLCs used in gas centrifuges, etc. are just as attractive for exploitation.
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#13Just wait five days and this will all go away.
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#14C++ is only "memory-unsafe" if you are hiring bottom of the barrel talent. Likely the same kind of folks for which we had to change car manuals from including schematics and repair instructions to including warnings about not drinking the coolant...
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#15Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#16that means you have to use rust for system level programming then? there is really no other alternative at system programming as far as memory safe is concerned, that uses no GC or VM.
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#17C++ is only "memory-unsafe" if you are hiring bottom of the barrel talent. Likely the same kind of folks for which we had to change car manuals from including schematics and repair instructions to including warnings about not drinking the coolant...
I think that argument had more merit back when C++ was a much simpler language. I've been programming in C++ since 1991, and the language / standard library are now so complex that it's hard to be 100% confident that I understand the meaning of any non-trivial code.
Modern C++ with RAII, smart pointers, constexpr, concepts, and heavy instrumentation is so much easier to reason about. It's actually close to Alexander Stepanov's idealised C++.
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#18All the memory safety in the world can't save you from a dumb vendor just screwing millions of computers at once.
Re: Feds: Critical Software Must Drop C/C++ by 2026 or Face Risk
#19that means you have to use rust for system level programming then? there is really no other alternative at system programming as far as memory safe is concerned, that uses no GC or VM.
http://ocamlverse.net/content/systems_programming.html