Edward Kmett ships Turbo Haskell: a GraalVM JIT for GHC Core that can compile GHC itself
rickasaurus · x · 2026-10-01
Edward Kmett has publicly released THC (Turbo Haskell Compiler), a Truffle/GraalVM-based JIT for GHC Core that started as a vacation joke a week ago and now implements every GHC 9.14.1 prim-op.
- GHC keeps handling parsing, typechecking, desugaring, and Core optimization; THC compiles and runs Core on its own Truffle runtime, fully supporting Template Haskell and Linear Haskell
- Works as both a JIT and an AOT compiler via Native Image, already building pandoc, happy, alex, and GHC itself; Cabal-based with multi-library and Backpack support
- Polyglot FFI to Python, Ruby, R, and JavaScript with zero-copy UTF-8 string conversion, letting Haskell call data-frame, D3.js, or LLM libraries directly
More from coding & agent
- CHGIS MCP Server lets agents query Chinese historical geography from 222 BCE to 1911 CE — modelcontextprotocol · 2026-11-29
- Compeller MCP connector creates and tracks AI music videos and audio-reactive visuals — modelcontextprotocol · 2026-11-29
- A month with iPhone Duo: 25-30% of my Rork coding work shipped on it — rudrank · 2026-11-29
- Another 1.0 launches: mirror your Android phone on Mac for AI agents — emeka_boris · 2026-11-29
- Agentic GraphRAG: an open source framework unifying enterprise knowledge and agent memory in one knowledge graph — vm324234 · 2026-11-29
- VS Code coding agent with tiered model routing passes the same tasks as full Claude Sonnet at 1/15th the cost — Jumpy_Invite_7473 · 2026-11-29