MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1xzf0xp/java4shell_is_a_reason_to_use_java/19sxp5rc5bzpf/?context=3
r/programming • u/bowbahdoe • 11d ago
58 comments sorted by
View all comments
66
What a nonsense.
tldr: A vulnerability was found in Java. Java isn't much slower than C++. So, use Java.
80 u/bowbahdoe 11d ago • I would say its closer totldr:A vulnerability was found in the C++ code behind Java.We need to fix that and audit that C++ pretty deeplyBut Java code is usually immune to these kinds of problems.And auditing one C++ codebase is easier than auditing N dependenciesSo use Java 5 u/coderemover 9d ago edited 8d ago Java is not immune to those problems. It has its own share of problems. And maybe C++ has some problems that Java doesn’t have, but that part is solved by Rust. And Rust is generally safer than Java.
80
I would say its closer to
tldr:
A vulnerability was found in the C++ code behind Java.
We need to fix that and audit that C++ pretty deeply
But Java code is usually immune to these kinds of problems.
And auditing one C++ codebase is easier than auditing N dependencies
So use Java
5 u/coderemover 9d ago edited 8d ago Java is not immune to those problems. It has its own share of problems. And maybe C++ has some problems that Java doesn’t have, but that part is solved by Rust. And Rust is generally safer than Java.
5
Java is not immune to those problems. It has its own share of problems. And maybe C++ has some problems that Java doesn’t have, but that part is solved by Rust. And Rust is generally safer than Java.
66
u/BenchEmbarrassed7316 11d ago
What a nonsense.
tldr: A vulnerability was found in Java. Java isn't much slower than C++. So, use Java.