Re:White House urges devs to switch to memory-safe programmi...
by fancyfredbot on Monday February 26, 2024 @05:26PM
(#39517479)
There are an awful lot of memory safe languages. For example Python, Java, JavaScript, and the safe subset of C#. Rust just happens to achieve memory safety with a relatively low runtime overhead.
[ Parent
| on HN ]
Re:White House urges devs to switch to memory-safe programmi...
by JohnFen on Monday February 26, 2024 @05:28PM
(#39517499)
That's a good point. I was thinking of compiled languages and so wasn't thinking about those.
Re:White House urges devs to switch to memory-safe programmi...
by IshKebab on Monday February 26, 2024 @05:39PM
(#39517622)
There are memory safe compiled languages too, e.g. Go or Dart. I think Java and maybe C# can be AoT compiled too these days.
Re:White House urges devs to switch to memory-safe programmi...
by jeremyjacob on Monday February 26, 2024 @08:50PM
(#39519123)
As well as Nim and Swift
Re:White House urges devs to switch to memory-safe programmi...
by pjmlp on Tuesday February 27, 2024 @01:55AM
(#39520929)
Java and C# have been AOT compiled from yearly days as well, the difference to today was for Java AOT compilers were only available in commercial JDKs, and NGEN only supported dynamic linking, while being designed for fast startup times only.
Re:White House urges devs to switch to memory-safe programmi...
by silisili on Monday February 26, 2024 @10:26PM
(#39519806)
The paper specifically eliminates languages with garbage collectors, however.
Re:White House urges devs to switch to memory-safe programmi...
by bpicolo on Tuesday February 27, 2024 @01:18AM
(#39520721)
Seems to specifically include them?
https://media.defense.gov/2023/Apr/27/2003210083/-1/-1/0/CSI...
Re:White House urges devs to switch to memory-safe programmi...
by silisili on Tuesday February 27, 2024 @01:38AM
(#39520824)
I was looking at this, which calls it out on page 9. Seems newer, or perhaps the 'can override' clause leaves it unrealisticly open ended?
https://www.whitehouse.gov/wp-content/uploads/2024/02/Final-...
Re:White House urges devs to switch to memory-safe programmi...
by AllNathansTaken on Tuesday February 27, 2024 @07:44AM
(#39523364)
That's specifically for space related software.
Re:White House urges devs to switch to memory-safe programmi...
by drjasonharrison on Wednesday February 28, 2024 @10:43AM
(#39539422)
Well, planet earth is travelling through space...
The excerpt of the section on memory safety and space that I read seemed to be more concerned with deterministic timing.
Did they address memory corruption?
Re:White House urges devs to switch to memory-safe programmi...
by knightofmars on Monday February 26, 2024 @10:56PM
(#39519986)
The description of memory safe languages referenced in the original article(s).
https://media.defense.gov/2023/Apr/27/2003210083/-1/-1/0/CSI...