~/talk

Eta Fibers: Towards Better Concurrency on the JVM

Talkat Functional Conf 2017 · 2017-11-16..11-19· [haskell, concurrency]
slides:none on file

Eta implements lightweight, cooperative Fibers on the JVM as a library with small Java runtime extensions, exposing a non-blocking fiber monad with forkFiber, MVar-style channels and yield/block primitives. It compiles Haskell-like code to JVM bytecode, runs a distributed demo (wormhole/teleport) successfully, and measures context-switching with a ring benchmark: 1,000,000 passes (ring size 500), showing ~950 ms for Eta fibers vs ~615 ms for Akka and performance on par with Quasar.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Project Overview
  3. 1:51Eta Overview
  4. 5:00OS Threads
  5. 6:39Multiplexed Threads
  6. 7:57Green Threads
  7. 8:39Alternative: Event Loop
  8. 11:48Unexpected Semantics
  9. 13:37Introducing Sequenceables (Monads)
  10. 20:22Transient Inspiration
  11. 23:11The Fiber Monad
  12. 29:54Fiber Applications
  13. 33:49Fiber Tooling
  14. 35:32Analyzing Fiber Performance
  15. 36:19Eta Runtime
  16. 37:44JIT Compilation
  17. 38:54JIT Optimizations
  18. 41:39Thread-Ring Benchmark
  19. 44:26Print Inlining
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.