# Turbo Haskell runs GHC itself on the JVM

> Hacker News story 49921798 · language: en · submitted 2026-10-01
> Web version: https://zeli.app/story/49921798
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 210 · by [pjmlp](<https://news.ycombinator.com/user?id=pjmlp>) · 💬 59
[original](<https://comonad.com/reader/2026/turbo-haskell/>) · [HN discussion](<https://news.ycombinator.com/item?id=49921798>)

## Summary

Edward Kmett built THC, a Turbo Haskell compiler that takes GHC Core and JITs it onto the JVM via Truffle and GraalVM. It implements every GHC 9.14.1 prim-op, supports Template Haskell, Linear Haskell, and polyglot FFI to Python, Ruby, R, and JavaScript. It can compile pandoc, happy, alex, and now GHC itself. Performance ranges from 3× faster to 3× slower than GHC, mostly 10–20% slower.

## Key quote

> THC is capable of JIT- or AOT-compiling a number of Haskell programs, including pandoc, happy, alex, and, as of today, even GHC itself!

## HN discussion (59 comments)

### [cosmic_quanta](<https://news.ycombinator.com/item?id=49933345>)

> Coincidentally, the author has just been interviewed on the Haskell Interlude podcast:
>
> https://haskell.foundation/podcast/87/

### [BalinKing](<https://news.ycombinator.com/item?id=49930388>)

> Only tangentially related, but I'm reminded of Frege[0], a Haskell dialect for the JVM that I stumbled across at one point and thought looked really cool.... I see recent commits but the releases are all really old, so I can't tell what the state of the project is.
>
> [0] https://github.com/frege/frege

### [zerr](<https://news.ycombinator.com/item?id=49933992>)

> I was expecting some Turbo Vision based TUI IDE.

### [woadwarrior01](<https://news.ycombinator.com/item?id=49931414>)

> The polyglot FFI feature (thanks to GraalVM) might be very useful for implementing "functional core, imperative shell" style designs.

### [draven](<https://news.ycombinator.com/item?id=49931371>)

> FYI the article links a discussion on Reddit, which has answers for several comments made here.

---

## Cite

- Page: https://zeli.app/story/49921798
- Date: 2026-10-01
- Source: comonad.com (https://comonad.com/reader/2026/turbo-haskell/)
- Hacker News: https://news.ycombinator.com/item?id=49921798

## Other languages

- zh: https://zeli.app/zh/story/49921798 · markdown: https://zeli.app/zh/story/49921798.md
- ja: https://zeli.app/ja/story/49921798 · markdown: https://zeli.app/ja/story/49921798.md
- ko: https://zeli.app/ko/story/49921798 · markdown: https://zeli.app/ko/story/49921798.md
- de: https://zeli.app/de/story/49921798 · markdown: https://zeli.app/de/story/49921798.md
- es: https://zeli.app/es/story/49921798 · markdown: https://zeli.app/es/story/49921798.md
- ru: https://zeli.app/ru/story/49921798 · markdown: https://zeli.app/ru/story/49921798.md
