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 thread.
View all comments
28 points

Probably a good idea, plenty of languages out there that can give good performance while being memory safe nowadays.

permalink
report
reply
7 points

Such as? (Non-programmer here, so I don’t know the ins and outs of programming languages.)

permalink
report
parent
reply
12 points

Zig and Rust come to mind, at least for replacements for low level languages.

permalink
report
parent
reply
2 points

Zig isn’t memory-safe

permalink
report
parent
reply
4 points

C#

permalink
report
parent
reply
7 points
*

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?

permalink
report
parent
reply
3 points

*proceeds to wrap everything in unsafe {}

permalink
report
parent
reply
2 points

Rust is the main one for the kind of code that’s typically written in C++. Most memory-safe languages make big compromises on performance, but Rust code tends to run about as fast as comparable C++ code.

permalink
report
parent
reply

Technology

!technology@lemmy.world

Create 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


Community stats

  • 18K

    Monthly active users

  • 11K

    Posts

  • 506K

    Comments