eio

Installation
SKILL.md

Eio Concurrency

Core Concepts

Why Eio

Eio is an effects-based IO library for OCaml 5. Advantages over Lwt/Async:

  • Direct-style code: No monads, concurrent code looks like sequential code
  • Performance: Real stacks, no heap allocations to simulate continuations
  • Better backtraces: Exceptions show proper call traces
  • Platform optimization: Generic API with optimized backends (Linux io_uring, POSIX, Windows)

Capability-Based Design

Pass capabilities explicitly instead of using global resources:

Installs
1
GitHub Stars
45
First Seen
Jun 3, 2026