267
White House: Future Software Should Be Memory Safe
(www.whitehouse.gov)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Fixed further?
It's perfectly possible to write C++ code that won't fall prey to buffer overruns. C is a lot harder. However yes it's far from memory safe, you can still do stupid things with pointers and freed memory if you want to.
I'll admit as I grew up with C I still have a love for some of its oh so simple features like structs. For embedded work, give me a packed struct over complex serialization libraries any day.
I tend to write a hybrid of the two languages for my own projects, and I'll be honest I've forgotten where exactly the line lies between them.