Effect 4.0

Rebuilt from the ground up, with a dependency-free core and long-term support.

Today, we're releasing Effect 4.0. It's the most ambitious release we've ever shipped. We rebuilt Effect from the ground up. It's faster, uses a fraction of the memory, and tree-shakes to far smaller bundles.

Compared with Effect 3.x on identical source (minified and gzipped; runtime medians of nine fresh-process runs):

  • Minimal program size: 35.6 kB → 7.1 kB (~5× smaller)
  • Concurrent task throughput: 0.71M → 4.57M tasks/sec (~6.4×)
  • Heap for 50,000 fibers: 157.5 MB → 21.8 MB (~86% less memory per fiber)

One ecosystem, zero dependencies

Many previously separate packages now live in effect itself. The packages around it share a single version and release in lockstep. The core effect package has zero runtime dependencies. We control every line we ship, so there are no third-party dependency chains and less exposure to supply chain attacks.