Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Java 27 (https://mail.openjdk.org)

349 points by mkurz 5 days ago | 431 comments | View on ycombinator

moomin 5 days ago |

C# dev here: it’s amazing how different this is from a Microsoft release. First off, Oracle are doing versions at approximately twice the cadence. But also, and I’m guessing this is a function of the much larger Java audience: things rarely get two preview versions in a proper release. Updates in beta versions, yes, all the time. It also feels like Microsoft are bundling a lot more into the platform and leaving less to the community. Again, probably an artifact of the different sizes of the communities. Also, the page reads like an open source “We’re finished, we’re tired.” announcement rather than the razzmatazz of a Microsoft release.

aaronax 5 days ago |

"The Java Story" documentary by CultRepo on YouTube is pretty great. A major topic is the release cadence which some other comments here are mentioning / joking about.

Horffupolde 5 days ago |

Serious question: when should one use Java for greenfield projects in 2026?

arein3 5 days ago |

Project Valhalla will go into Java 28 (next year, and preview version).

Fingers crossed I'll manage to use null type safety in my lifetime.

pineappletooth_ 5 days ago |

Still pretty fun that here banks are still using Java 8, where i work they use java 17 and you can still find work requirements asking for java 7 (mostly in goverment entities)

svcrunch 5 days ago |

I've been using the Vector APIs for years now, and I'm still waiting for them to GA!

They are useful for neural information retrieval (RAG, memory), which relies heavily on content vectorization and similarity matching using their dot products.

Good4boothee 4 days ago |

Not a fan of JEP-531, looks the repeat of Optional. Are we really so afraid of extending syntax that we are going to add a class instead of field modifier?

    private static final Logger log = Logger.getLogger(Whatever.class);
This was already verbose enough that Lombok has @Log4j for it, adding `lazy` keyword in front of `final` won't make it any worse.

jan_m_savage 4 days ago |

This thread, which I read most of, reads like a 'how to be a language-war thread without explicitly being one'. :)

Just use the language the (keeps putting) puts bread on your table. All languages have their own 'baggage'.

Wrt to AI, I agree with pron's comments that for very large code bases, AI can't do 4$hit.

vismit2000 4 days ago |

liampulles 5 days ago |

Java consistently introduces lots of exciting functionality into the language. That's a big part of my dislike and active avoidance of it.

rf15 5 days ago |

> Twelfth Incubator

Are you sure this egg is actually viable?

I mean, I'd love to see it, but...

okokwhatever 5 days ago |

Love Java vs Hate Oracle... My life is a shit show

taspeotis 5 days ago |

Knock knock

Who's there?

long pause

Java

p32929 3 days ago |

[flagged]

aitoolcrux 5 days ago |

[flagged]

gtadesktop1 5 days ago |

.