NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Java4Shell is a reason to use Java (mccue.dev)
musicale 14 hours ago [-]
> So if you are worried AI is going to find security problems with your code, use Java. The problems are likely to be less severe.

> Or use Kotlin, Clojure, JRuby, etc. Whatever. Most of what I talked about applies to all of them. Its only what I didn't talk about (the module system) that is Java specific

It sounds like the argument is for the JVM, and for consistent cross-platform library code. Go and Rust might give you some of the latter however.

mhmd4k 15 hours ago [-]
I wonder where you see Java's future in the age of agentic AI development? The tool looks cool, but do you think Java will be able to survive Rust rapid adoption? We do a lot of Java development at work, but I'm not too sure it's the right tool anymore.
jjordan 15 hours ago [-]
There's no good reason to use Java on new projects in late 2026. There are just objectively better options, and since you can now code in any language, Java is unjustifiable.
mhmd4k 4 hours ago [-]
The GC in Java is just not going to keep up with the like of Rust. It costs a lot less to run a heavy duty service on Rust than in Java because of the memory. Java will stay around for a while because of its rich libraries, but once those libraries are converted in Rust, it will go out of fashion very quickly.
14 hours ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 11:15:39 GMT+0000 (Coordinated Universal Time) with Vercel.