Eta lang - Haskell On JVM
summary
Eta compiles GHC’s STG intermediate form to JVM bytecode and runs Haskell on the JVM; core libraries with C FFI are patched to Java and the build tool mirrors Cabal. Tail-call optimization turns recursion into loops so 10 million tail-recursive calls can complete, and benchmarks show a naive quicksort is ~2x slower while an optimized sort runs at ~60% of Java speed. Interop supports calling Java, exporting functions, a servlet wrapper for Haskell handlers, and a Game of Life demo with Haskell logic driving JavaFX. Version 0.8, active community, still maturing.
AI-written summary · about
chapters (13)
- 0:00Eta and Haskell on JVM
- 3:37Why Haskell is great
- 10:33Purity and immutability
- 16:30Haskell in production
- 20:00What is Eta
- 23:31Eta compiles Haskell to JVM
- 28:09Eta performance vs Java
- 33:22Mixing Java and Haskell
- 40:02Java-Haskell interoperability
- 44:57Eta vs Frege
- 46:19Eta production ready?
- 47:22Eta community
- 48:26Final thoughts
related talks
55mBeauty and the Beast: Haskell for JVM
01h 39mETA lang a Journey from Haskell via STG and Bytecode to Assembly Part 1
01h 02mHaskell for Java Programmers
50mEta Fibers: Towards Better Concurrency on the JVM
40mWhat Haskell taught us when we were not looking
01h 43mGHC’s JavaScript Backend
01h 22mHaskell for Everyday Programmers
01h 26mReflections on Haskell@Meta
