Beauty and the beast Haskell on JVM
summary
Eta targets GHC compatibility by compiling STG to JVM bytecode and claims you can reuse hackage packages with Cabal patches for C imports; benchmarks show naive quicksort about twice as slow and a tuned real quicksort roughly 60–70% of Java speed, while a 12‑queens microbenchmark improves after fixes. Practical work includes a pong and Game of Life backend that runs on Tomcat/servlets, but current 0.7x tooling has edge bugs (one tail‑call fix was required), limited automation for Java imports, and a very small community.
AI-written summary · about
chapters (15)
- 0:00Start
- 3:37WRITE HASKELL USING HASKELL (ETA)
- 4:59ETA 1.2.3 INTRO
- 8:46SPINELESS, TAGLESS G-MACHINE
- 9:052ND PHASE - STG TO BYTECODE/ JVM
- 11:17ETA HACKAGE PATCHES
- 12:36SUPPORTS COMPILE EXTENSIONS
- 13:26Lots of crazy haskell codes that use GHC extensions work on Eta without any problems.
- 13:56BASIC OPTIMISATIONS
- 20:29Fix compiler of Haskell written in Haskellighc while learning haskell.
- 23:34PERFORMANCE
- 26:20VS OTHER HASKELLS 12 Queens
- 28:39JAVA INTEROPABILITY
- 39:42ETA FOR YOU
- 41:40ETA COMMUNITY








