White House urges developers to dump C and C++::Biden administration calls for developers to embrace memory-safe programing languages and move away from those that cause buffer overflows and other memory access vulnerabilities.
I’m not sure what to think about this. It’s bizarre, the White House making any recommendations on programming languages.
They’re definitely not seen as an authority in this field. Why would anyone care what recommendation they make? And so why make one at all?
They’re definitely not seen as an authority in this field. Why would anyone care what recommendation they make?
It’s possible that they are acting on the advice of advisors who are authorities in this field.
And so why make one at all?
I expect it’s because information and industrial security are components of national security, which is of great concern to them, and those things depend on software.
I’m not surprised to see this, given that state-sponsored electronic attacks are on the rise these days.
NIST are the experts guiding the White House.
NIST is mentioned
confused and angry screaming
Good luck with that, C/C++ are still crazy popular
Damn, it’s been like 25 years since I touched either of those. Aside from OS development, do people really do that anymore?
Most of the embedded world uses those.
C++ is also the standard in game dev. You may see some C# here and there, but most engines, public available or otherwise, are built on C++.
If it is a AAA game, I can assure you it is most likely made with C++.
well… that’s the point - if they weren’t this wouldn’t be a concern
sad stroustroup noises
Team Fortran raise up, but not too fast our old bones aren’t as strong as they used to be.
I updated an internal library from 77 to 90 last week. We’re working quickly these days!
Maybe you can use Team COBOL’s wheelchairs as walkers?
C is not the problem, it’s sloppy “programmers” who cannot handle direct memory control and who do not understand the underlying system architecture and how a microprocessor operates. People who are good at writing C can make code just as safe as the safest Rust code.
I love C, but C definitely is the problem.
While one disciplined programmer can in theory write correct code, once there is a small group of even good C programmers and a code base with more than around 3000-5000 LOC, there will be bugs. There is a good reason for tools like Valgrind etc.
While I think C and C++ are the problem, I don’t think Rust is the solution, tho.
Probably a good idea, plenty of languages out there that can give good performance while being memory safe nowadays.
Such as? (Non-programmer here, so I don’t know the ins and outs of programming languages.)
C#
*proceeds to wrap everything in unsafe {}
Isn’t that only microsoft exclusive and closed source? Also does compiling it really yield the same speed as C, it is garbage collected isn’t it?
Was always possible to compile+run C# on Linux using the Mono project. Until Microsoft “bought them out” and created .NET Core, a cross platform version of .NET that MS now encourages people to use instead…
Microsoft’s new linux compile tools rub me the wrong way slightly, with the telemetry that’s opt-in by default.
Mono is still extremely valuable for older .NET Framework apps under WINE though, way easier to setup compared to the official installers from what i’ve experienced.
No idea how compiled C# compares to C…
“We, as a nation, have the ability—and the responsibility—to reduce the attack surface in cyberspace and prevent entire classes of security bugs from entering the digital ecosystem but that means we need to tackle the hard problem of moving to memory safe programming languages,” National Cyber Director Harry Coker said in the White House news release.
o7
C/C++: so bad that even the white house takes notice 😂
C isn’t bad. It has been a good portable assembly language for ages, and remains so today. What’s problematic is continuing to use it where more advanced languages now make more sense.
I won’t defend C++, though. I’m happy to kick it to the curb now that better alternatives are gaining traction.
I think we should politicize code. It seems so unfettered by politics so far while so many other things are nicely split amongst party lines. Seems like maybe the Republicans should embrace C and the democrats can have python or something.
Republicans get C, Java, Lua, and C++; Democrats get Ada, Rust, C#, and Python; Libertarians get Zig, TCL, Julia, and Ocaml for some reason.
Ruby is just one guy, Vermin Supreme