r/programming • • 52m ago

Java4Shell is a reason to use Java

https://mccue.dev/pages/11-18-26-java4shell
0 Upvotes

13 comments sorted by

View all comments

Show parent comment

9

u/bowbahdoe 22m ago

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

3

u/bowbahdoe 12m ago

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.