# TeaVM

7 Hacker News commenters recommended TeaVM and 0 criticized it, November 2025 to November 2026. It was recommended in 4 of 13 months.

**Verdict:** Compiles Java bytecode to JavaScript or WebAssembly so Java code can run in the browser, with tree-shaking and minification that keep output lean.

## Why people recommend it

- Works well in daily use (2 comments): "I've been using TeaVM for a while now, and it's pretty great." ([source](https://news.ycombinator.com/item?id=46190021)) "It performs fine: https://teavm.org/gallery.html" ([source](https://news.ycombinator.com/item?id=46190086))

## Alternatives hackers recommend

- [T-Ruby](https://hackerapproved.com/p/t-ruby.md): 11 recommend
- [Eurydice](https://hackerapproved.com/p/eurydice.md): 8 recommend
- [crustc](https://hackerapproved.com/p/crustc.md): 8 recommend
- [Scala.js](https://hackerapproved.com/p/scala-js.md): 7 recommend
- [C2Rust](https://hackerapproved.com/p/c2rust.md): 6 recommend

## Cite as

Hacker Approved, "TeaVM", https://hackerapproved.com/p/teavm/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
