A couple years ago, the federal government told companies to stop using 'memory-unsafe' languages like C and C++ by 2026 and suggested #rust as an alternative https://thenewstack.io/feds-critical-software-must-drop-c-c-by-2026-or-face-risk/
"A recent report issued jointly by CISA and the FBI on Product Security Bad Practices warns software manufacturers about bad practices such as using memory-unsafe programming languages like C and C++."
"The software inside devices like elevators is often written in languages like C++ or C, which are famous for allowing programmers to write code that runs very quickly and is quite compact. The problem is those languages also make it easy to accidentally introduce memory bugs—errors that will cause a crash. Microsoft estimates that 70% of the vulnerabilities in its code are due to memory errors from code written in these languages."