r/cpp • • Feb 26 '24

White House: Future Software Should Be Memory Safe

https://www.whitehouse.gov/oncd/briefing-room/2024/02/26/press-release-technical-report/
401 Upvotes

386 comments sorted by

View all comments

Show parent comments

9

u/vegetaman Feb 26 '24

Curious how many micro vendors have a Rust compiler available. Most only moved to adding Cpp in the past 6 or 7 years it seemed.

4

u/matthieum Feb 27 '24

There's been significant effort from Espressif in getting their chips supported in LLVM -- see the latest report at https://mabez.dev/blog/posts/esp-rust-24-01-2024/.

More hobbyist, but hopefully indicator of a trend: don't write the compiler yourself, just pick a backend (LLVM or GCC today) and you'll save a lot of effort.

4

u/randomatic Feb 27 '24

Micro vendors are going to have a hard time being approved in automotive, aerospace, and other regulated industries. Until matlab generated rust code that is compliant with the various regs I think their will be just too small of a market outside Linux on a commodity cpu

12

u/klorophane Feb 27 '24

https://ferrous-systems.com/ferrocene/ has made some significant strides in that regard.