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.

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.

@Dzeimis@lemmy.world
link
fedilink
English
78M

Wtf, I thought this was a meme…

Good luck with that, C/C++ are still crazy popular

@AA5B@lemmy.world
link
fedilink
English
28M

Damn, it’s been like 25 years since I touched either of those. Aside from OS development, do people really do that anymore?

https://www.geekboots.com/story/why-c-is-so-popular-and-still-the-best-programming-language

Basically, C runs the modern world. WiFi, MacOS, Windows, Linux, and so much more

Kevin
link
fedilink
English
38M

Most of the embedded world uses those.

Subverb
link
fedilink
English
27M

Embedded systems developer here. If you’re programming on ARM or one of the other big microcontrollers there aren’t many well supported options. ARM’s official Keil compiler and libraries are C and C++ and I see no official movement to change that.

They have literally decades in building those tools.

Microsoft’s multithreaded OS ThreadX is C code. They just bought it for a large undisclosed amount in 2018. It ain’t going anywhere soon.

AWS’s FreeRTOS is C. Not going anywhere.

Embedded development toolchains are very slow to change.

Eager Eagle
link
fedilink
English
178M

well… that’s the point - if they weren’t this wouldn’t be a concern

@omega_x3@lemmy.world
link
fedilink
English
278M

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!

Richard
link
fedilink
English
-27M

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.

While this is technically correct, it’s tantamount to saying “just don’t make mistakes”, or arguing that a seatbelt is unnecessary because many are good enough drivers to not need it.

Languages like C and C++ do not prohibit the kinds of mistakes that the NSA told us two years ago lead to software vulnerabilities.

Other languages, like Rust, have higher guardrails built in and make it much more difficult to accidentally create the same failure modes.

@daddy32@lemmy.world
link
fedilink
English
27M

It is just too easy to shoot yourself in the foot when using a foot gun… Sure the experts can avoid it, but that doesn’t mean the foot gun is a good tool in general.

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?

@Mango@lemmy.world
link
fedilink
English
18M

removed by mod

@someacnt_@lemmy.world
link
fedilink
English
38M

There have been words around this, like how software should be safe by design, but the regulation should come from the governing entity. This is simply materialized now, but there has been momentum.

It’s a national security threat

@makozuma@lemmy.world
link
fedilink
English
28M

Can’t we just bring back Forth and call it a day?

sad stroustroup noises

@badbytes@lemmy.world
link
fedilink
English
48M

Good reason to not drop C and C++

Create a post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


  • 1 user online
  • 186 users / day
  • 583 users / week
  • 1.37K users / month
  • 4.49K users / 6 months
  • 1 subscriber
  • 7.41K Posts
  • 84.7K Comments
  • Modlog