this post was submitted on 28 Feb 2024
227 points (96.0% liked)

Technology

59223 readers
3713 users here now

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


founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] CaptainSpaceman@lemmy.world 43 points 8 months ago (2 children)

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

[–] eager_eagle@lemmy.world 37 points 8 months ago (1 children)

well... that's the point - if they weren't this wouldn't be a concern

[–] fruitycoder@sh.itjust.works 4 points 8 months ago

We really need to get the kids to stop programming with punch cards. /s

[–] AA5B@lemmy.world 3 points 8 months ago (5 children)

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

[–] ArmainAP@programming.dev 9 points 8 months ago

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++.

[–] poopsmith@lemmy.world 6 points 8 months ago

Most of the embedded world uses those.

[–] Subverb@lemmy.world 3 points 8 months ago

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.

[–] CaptainSpaceman@lemmy.world 3 points 8 months ago

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

[–] flatpandisk@lemm.ee 1 points 8 months ago

A large chunk of not most of robotic development is C and C++. Since working with a mixture of hardware, software, and even performance software here comes C and C++.