IcedCoffeeScript
summary
Claims that CoffeeScript gains concurrency with just two keywords and source-to-source transforms, showing a working implementation called IcedCoffeeScript that implements adds two keywords: defer and await. Code generation rotates AST to CPS to keep compatibility with existing callbacks and runtimes. Examples include converting serial to parallel by swapping loop and await, a pipeliner that limits to five outstanding requests, and a real site Commasaurus running about 30,000 lines of IcedCoffeeScript and 10,000 lines of Go in production.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:59A Manageable Problem
- 2:04The Real Problem
- 8:50A Preview of Iced
- 11:11Iced example 2
- 14:48Parallel Calls
- 16:54"Background" Work
- 17:49Composable Timeouts
- 18:48Implementation
- 19:36Rotation Example
- 20:22What Needs Rotation?
- 21:38Iced Review








