White House urges developers to dump C and C++

3 years ago by SoLongAndThanksForAllTheFish to c/c_lang

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.
smpl 19 points 3 years ago
path: 0 7978438, hotness: undefined, score: 19, children: 0
ChubakPDP11 8 points 3 years ago
path: 0 7978552, hotness: undefined, score: 8, children: 0
waspentalive 7 points 3 years ago

Wow, Programming advice from non-programmers (And I would say this no matter which side of the aisle the President is from) and those with a vested interest. (google, Microsoft) The Linux kernel is written in C, will it be shut out of government contracts?

path: 0 7979518, hotness: undefined, score: 7, children: 5
Cagi 11 points 3 years ago

Non-programmers? You think Biden personally made this up without consulting a single computer scientist or programmer or something?

path: 0 7979518 7981615, hotness: undefined, score: 11, children: 0
agent_flounder 8 points 3 years ago

Well, after fighting an endless parade of memory corruption vulnerabilities for the last 35 years, maybe it is time for a change.

The advice may be coming from the white house but it seems like a better direction to go in than metaphorically continuing to point loaded guns at our feet.

path: 0 7979518 7979793, hotness: undefined, score: 8, children: 0
Lmaydev 2 points 3 years ago

Support for Rust in Linux is gaining a lot of traction. Memory safety without performance hits is massive for kernel development.

Google and Microsoft are massively invested in Linux and some of its biggest contributors due to the cloud.

Windows and android are also written in memory unsafe languages so I don't see how this would help them.

path: 0 7979518 7989107, hotness: undefined, score: 2, children: 0
jamyang 2 points 3 years ago
path: 0 7979518 7982149, hotness: undefined, score: 2, children: 1
SatouKazuma 2 points 3 years ago

That's still under active development, and due for a 2025 release.

path: 0 7979518 7982149 7983125, hotness: undefined, score: 2, children: 0
DickFiasco 7 points 3 years ago

The new 19-page report from ONCD gave C and C++ as two examples of programming languages...

I'm just astounded that, not only did the article avoid using the obnoxious term "C/C++", but it explicitly refers to them as two separate languages.

path: 0 7981173, hotness: undefined, score: 7, children: 0
c_lang
c_lang

@programming.dev

login for more options
1359
104
40

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

go to feed...