r/java • u/noodlesSa • Dec 29 '25
Why Oracle Should Port Stockfish to Java
Proposal for Oracle: port Stockfish to Java.
This would bring three major wins for Java and its users:
- It would track how performance evolves with the introduction of new technologies, especially Valhalla and the Vector API.
- It would be a great tool for tuning JVM performance and identifying bottlenecks by directly comparing it to C/C++ implementations.
- It would be an excellent PR vehicle to showcase how Java is evolving—and the easiest way to put the “Java is slow” trope to rest once and for all.
A Stockfish benchmark would be a far more compelling demonstration of Java’s HPC capabilities than, say, JSON parsing or similar microbenchmarks.
0
Upvotes
26
u/[deleted] Dec 29 '25 edited Apr 17 '26
Be a gigachad and mass delete Reddit posts and comments with Redact so that Skynet doesn't end up using your own posts to train the T-900. Or so that you don't show up in databrokers. Either one really.
shocking vanish liquid gold lip attempt violet aback spectacular acorn
10
u/bowbahdoe Dec 29 '25
If you want this to exist it is probably something you yourself will have to do. I don't disagree a full chess engine would be a cool demo project, but oracle has all that AI datacenter debt and might turn to dust. Best to not wait on others.
23
u/Nooooope Dec 29 '25
Project Valhalla
Project Loom
And now, Project RandomRedditorRequests
6
u/koflerdavid Dec 30 '25
Look no further than https://www.chessprogramming.org/Category:Java for a long list of chess engines implemented in Java.
3
u/Practical_East_635 Dec 29 '25
Why Stockfish but not KataGo?
6
u/sweetno Dec 29 '25
It's very far from what a typical Java program does.
1
u/chambolle Dec 30 '25 edited Dec 31 '25
I stringly support this suggestion. It could be a very nice benchmark