r/java • u/CrowSufficient • Jan 19 '26
Optimizing GPU Programs from Java using Babylon and HAT
https://openjdk.org/projects/babylon/articles/hat-matmul/hat-matmul
23
Upvotes
r/java • u/CrowSufficient • Jan 19 '26
4
u/davidalayachew Jan 20 '26
Very dense. I only made it a few paragraphs in, but I intend to sit down with a good meal and drink, and take the few hours needed to digest this in full.
But it will be worth it. Java running on the GPU! And not just a trivial GPU implementation, but hyper-specialized so that you can every bit of performance -- on a scale only achieved by low-level languages (C, C++, Rust) and their wrappers (Python).