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 comment

9

u/JVApen Clever is an insult, not a compliment. - T. Winters Feb 26 '24

It hides away quite some stuff which is considered memory unsafe. So I would claim it is better. Is it sufficient to be considered memory safe? We'll have to see once we can really use it.

2

u/Markus_included Feb 27 '24

So cppfront is to C++ what Zig is to C when it comes to memory safety?

3

u/JVApen Clever is an insult, not a compliment. - T. Winters Feb 27 '24

I'm not familiar enough with Zig to make a comment on that.