this post was submitted on 28 Feb 2024
183 points (97.4% liked)

World News

31895 readers
450 users here now

News from around the world!

Rules:

founded 4 years ago
MODERATORS
 

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
[–] ScreaminOctopus 27 points 5 months ago (1 children)

Pretty crazy to reccomend Java as a secure alternative.

[–] [email protected] 8 points 5 months ago (4 children)

Why? What's wrong with safe, managed and fast languages?

[–] [email protected] 14 points 5 months ago* (last edited 5 months ago) (1 children)

Java's runtime has had a large number of CVEs in the last few years, so that's probably a decent reason to be concerned.

[–] [email protected] 3 points 5 months ago

Yep but:

  • it's one runtime, so patching a CVE patches it for all programs (vs patching each and every program individually)

  • graalvm is taking care of enabling java to run on java

[–] [email protected] 7 points 5 months ago

Nothing...

Only that descrition doesn't include Java

[–] ScreaminOctopus 3 points 5 months ago (1 children)

Nothing really, the JVM has a pretty troubled history that would really make me hesitate to call it "safe". It was originally built before anyone gave much thought to security and that fact plauges it to the present day.

[–] [email protected] 2 points 5 months ago

and how much of this troubled history is linked to Java Applets/native browsers extensions, and how much of it is relevant today?

[–] [email protected] 1 points 5 months ago (1 children)
[–] [email protected] 3 points 5 months ago

There's a difference between writing code on a well-tested and broadly used platform implemented in C++ vs. writing new C++.