Sketching streams with aquascape
summary
Explains a concrete stage model for FS2 streams that turns operator execution into a sequence of pull/output/done instructions, shows how those instructions are logged and rendered as diagrams using the aquascape library, compiles the same code to JavaScript via Scala.js so diagrams run in the browser, and uses a mock runtime to simulate time so examples render instantly; aims to generate interactive diagrams for inclusion in FS2 documentation.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 2:09Stream processing with FS2
- 8:53Cat behavior as a stream
- 13:45Stream documentation limits
- 15:31Stage model for streams
- 17:48Live stream stages demo
- 21:41Pull model behind FS2
- 23:46Diagrams from stream code
- 28:21Aquascape library demo
- 30:31Scala to JavaScript compilation
- 31:54Interactive diagrams demo
- 35:27Aquascape features and future
- 37:15Conclusion








