← Graph

Auto-yielding Fibers

concept 2 connections

Fibers that transparently yield on sleep/wait/IO.select calls, turning blocking I/O into non-blocking I/O automatically — similar to Go goroutines or Crystal fibers. Promised for Ruby 3 but not available at the time of the talk, which motivated David Halasz's manual bouncing-select approach.

category
architecture
about
Auto-yielding Fibers concept
Promised feature for Ruby 3 that would simplify the proxy
concept Auto-yielding Fibers
related_to
Crystal tool
Crystal implements concurrency using auto-yielding fibers, cited as the model

Provenance

Read by
8 extractions