Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin
The NSA list of memory-safe programming languages has been updated (readwrite.com)
12 points by isaacfrond on March 4, 2024 | hide | past | favorite | 3 comments


There have been attempts at patching C's issues [1][2][3][4][5], but with not much success from what I've seen. I know there are static analyzers out there but they provide no guarantees that they will catch all bugs in your code, is there really no way to output safe C? Is this the final consensus? That writing in C equals unsafe code and people should stay away from it?

[1] https://github.com/microsoft/checkedc

[2] https://www.safe-c.org/presentation.en.html

[3] https://dlang.org/articles/safed.html

[4] https://dlang.org/spec/betterc.html

[5] https://libcello.org


tl;dr

In no particular order, the NSA suggests these memory-safe programming languages

Go

Rust

C#

Swift

Java

Ruby

Python

Delphi/Object Pascal

Ada


Kinda surprised NSA mentioned Ruby and didn't just say "Python and similar" or something long those lines. Cool to see Ruby still pushing it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: