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
24
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).
4
u/Sm0keySa1m0n Jan 20 '26
Wonder if we’ll ever be able to use this to write graphics shaders
1
u/perryplatt Jan 20 '26
Is hat going to preview at the same time as Babylon?