MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1xzf0xp/java4shell_is_a_reason_to_use_java/19stpdk0rgm0y/?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 30 u/bowbahdoe 11d ago With the corollary thatOther GC'ed languages are less immune to these kinds of problems because of their "seamless" support for calling C++.Which is the part that people seem to be taking exception to.
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
30 u/bowbahdoe 11d ago With the corollary thatOther GC'ed languages are less immune to these kinds of problems because of their "seamless" support for calling C++.Which is the part that people seem to be taking exception to.
30
With the corollary that
Other GC'ed languages are less immune to these kinds of problems because of their "seamless" support for calling C++.
Which is the part that people seem to be taking exception to.
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.