Crystal Concurrency

Crystal concurrency and parallelism patterns — fibers, channels, select, WaitGroup, ExecutionContext, and porting Go concurrency patterns. Use when implementing any concurrent or parallel Crystal code, debugging deadlocks or fiber leaks, choosing between spawn and ExecutionContext::Parallel, or translating Go channel patterns to Crystal. Covers 41 patterns across 6 categories, ported from Go and verified against an upstream spec suite, with runnable examples and measured parallel benchmarks (up to 8.76x speedup).

dsisnero 76dc5e5 15 files · 70.4 KB Updated

File contents

dsisnero/crystal_forge/tree/main/skills/crystal-concurrency commit 76dc5e5776

Frequently asked questions

npx skillmds@latest add dsisnero/crystal-concurrency