hn.today

TornadoVM 7 Enables GPU-Native Workloads from Java Applications

infoq.com94 points23 comments
Screenshot of TornadoVM 7 Enables GPU-Native Workloads from Java Applications

TornadoVM was described by its advocates as a way to run Java and other JVM-language workloads on GPUs, with support for Nvidia, Apple hardware, and OpenCL-capable devices. They pointed to Java-based AI infrastructure already being built around it, including a vLLM-like inference engine, and likened the broader goal to JAX for Java. One commenter also highlighted a separate Java inference project, claiming GraalVM can deliver strong performance for local language, image, video, and speech models. Others asked how Java compares with Python for machine learning, while a skeptic questioned whether writing GPU kernels in Java makes sense when established native libraries are available.

The debate centered on how much abstraction TornadoVM can provide and whether Java’s ecosystem can gain traction in GPU computing. Some expected it to optimize tiling for target hardware; others stressed that developers may need explicit control, cuTile-style APIs, fused kernels, or native libraries such as cuDNN. A commenter asked about TPU compatibility, and the project’s advocate described its current backend options. Another commenter worried that Java’s Vector API could arrive too late to compete with established alternatives, while a defender argued that standard APIs can be useful. The name “VM” also prompted questions, since TornadoVM is packaged as a JAR running on an existing virtual machine.

Read on infoq.com23 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Four Months of Zig

Four Months of Zig

After four months back with Zig, Anna Liberty built a small-network client library, a typing game, and an N-body simulator, while enjoying Zig’s straightforward development experience. The experience also exposed unfinished tooling, including a built-in fuzzer that did not work, and highlighted the value of local Zig meetups. (gracefulliberty.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.