Algebraic Effects
summary
Algebraic effects are presented as a practical programming technique and the talk explains how to build an effects library in Ruby and integrate it with existing code. It covers concrete implementations of common effects such as getting the current time and shared-state access, and discusses how these effects behave in multithreaded environments; React hooks are mentioned as a real-world example of a similar mechanism.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:32What are algebraic effects
- 5:44Effects and handlers basics
- 9:17Handlers in practice
- 12:51Fibers for handlers
- 15:43Multiple effects handling
- 18:36Fibers vs global handlers
- 21:58Common effects problems
- 27:19Debugging effects
- 28:43Performance considerations
- 30:46Future of algebraic effects
- 31:54Q&A
