# Truffle

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

**Verdict:** A framework for building language interpreters that get a JIT compiler and language interop from one implementation, used for high-performance language work.

## Why people recommend it

- Interpreter and JIT from one implementation (2 comments): "a better approach to writing interpreters these days, because you get a JIT and lots of language interop for free" ([source](https://news.ycombinator.com/item?id=50193375)) "implement the language semantics once and you get both interpreter and JIT safely out of it" ([source](https://news.ycombinator.com/item?id=45940011))
- Makes the JVM attractive for languages (2 comments): "Graal and Truffle make the JVM look attractive, especially for this case!" ([source](https://news.ycombinator.com/item?id=45792169)) "Without Truffle/Graal the limitations of the JVM are just too severe." ([source](https://news.ycombinator.com/item?id=49972373))
- Used for JRuby and Emacs Lisp (2 comments): "The one that always gets me is what Truffle/JRuby was capable of, ten years ago" ([source](https://news.ycombinator.com/item?id=46379438)) "Using Truffle for elisp is very cool." ([source](https://news.ycombinator.com/item?id=46351754))

## Alternatives hackers recommend

- [LLVM](https://hackerapproved.com/p/llvm.md): 119 recommend
- [QBE](https://hackerapproved.com/p/qbe.md): 16 recommend
- [EDG C++ front-end](https://hackerapproved.com/p/edg-c-plus-plus-front-end.md): 15 recommend
- [Roslyn](https://hackerapproved.com/p/roslyn.md): 11 recommend
- [MLIR](https://hackerapproved.com/p/mlir.md): 10 recommend

## Cite as

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