# Building Effect 4.0 | Michael Arnaldi (Effect Days 2025)

> For agents: start with the [agent guide](https://ratstack.sh/llms.txt). Every page is Markdown by default; add `Accept: text/html` for HTML.

[Effect | TypeScript for the AI Era](https://www.youtube.com/@effect-ts) · Published 2025-04-08 · 42:35 · A tier · Effect

[Watch on YouTube](https://www.youtube.com/watch?v=nyvB6nRe5x0) · [All RatTube videos](/tube)

## Summary

Michael Arnaldi presents the work underway on [Effect 4](/lore/effect-days-2025-building-effect-4-michael-arnaldi) at Effect Days 2025. He shows smaller bundle examples and changes intended to make unused parts easier to tree-shake.

The talk explores queue APIs, the relationship between batching and [fibers](/lore/concurrent-work-needs-an-owner), and changes to runtime behavior. It also discusses structural versus reference equality. These are plans and demonstrations from the talk, rather than a guide to the current API.

## Section notes

- [7:22](https://www.youtube.com/watch?v=nyvB6nRe5x0\&t=442s): Bundle examples track the size of basic programs that include the runtime.
- [14:37](https://www.youtube.com/watch?v=nyvB6nRe5x0\&t=877s): The queue redesign adds a potential error type to the queue.
- [22:51](https://www.youtube.com/watch?v=nyvB6nRe5x0\&t=1371s): Arnaldi discusses building batching on fibers.
- [31:22](https://www.youtube.com/watch?v=nyvB6nRe5x0\&t=1882s): A runtime example examines work that keeps the Node process alive.
- [38:23](https://www.youtube.com/watch?v=nyvB6nRe5x0\&t=2303s): Plans would make plain objects structurally equal by default and class instances referential.

## Key concepts

- [Effect 4](/lore/effect-days-2025-building-effect-4-michael-arnaldi)
- [fibers](/lore/concurrent-work-needs-an-owner)

## Our take

Michael Arnaldi walks through what changed in Effect 4.0: smaller bundles, a simpler runtime, the new queue API, STM in core and simpler Layer APIs. Watch it to understand the version this stack pins.

## Related videos

- [Effect TypeScript Library: Beginner / Intermediate Workshop (Effect Days 2024)](/tube/effect-typescript-library-beginner-intermediate-workshop)
- [Structured Concurrency: The hidden power behind Effect | Antoine Coulon (Effect Days 2025)](/tube/structured-concurrency-hidden-power-behind-effect)
- [Production-Grade TypeScript by Johannes Schickling (Effect Days 2024)](/tube/production-grade-typescript-by-johannes-schickling)
- [Production-grade app architecture with Effect (Workshop Part 1 – Effect Days 2025 )](/tube/production-grade-app-architecture-with-effect)

Summary based on the transcript. Written 2026-11-15.
