Skip to content
0:00 / 0:00

#eta#haskell#jvm

[VDZ19] Eta lang - Haskell On JVM by Jarek Ratajski

Devoxx

172K subscribers • 49 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jarek Ratajski
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

1.9K views7 years ago1 recommendation

Programming languagesSystems programmingCompilers and interpretersFunctional programming

Jarek Ratajski introduces Eta, a dialect of Haskell that runs on the JVM, explaining its compilation strategy and Java interoperability.

After 20 years of evolution Java Virtual Machine became a real masterpiece of engineering that can easily outperform static compilers in many cases. There are however, lots of issues arising when someone tries to implement purely functional language on the JVM. It was considered particularly hard creating an efficient Haskell implementation for it. Developers of Eta tried it once again in a little bit different way. We will check how did they manage to solve typical problems like tail call optimizations and what is the overall performance of Eta. We will check how does it compare to GHC (Haskell). We will also consider a few examples, where the business logic is written in Haskell/Eta, but the middle-ware and other components are in Java. We analyze various approaches when it makes sense and how does it compare to the pure Java/Haskell implementations. Maybe your next JVM language will be Haskell!

Why it's here

1 person recommends this

What people say. Recommended as an overview of running purely functional Haskell code on the JVM.

u/ACabalSupremein r/haskell • Recommends

VDZ19 Eta lang - Haskell On JVM by Jarek Ratajski