Sketching streams with aquascape by Zainab Ali
Lambda World 25
•
38m
Functional streams are a vital tool in any ecosystem. They can simplify the code for webservers, event loops, and data-intensive applications. But they are notoriously difficult to understand. In this talk, we'll explore a mental model of stream execution in fs2, a functional stream processing library in Scala. We'll use our model to draw simple diagrams for complex streaming scenarios, and see how these diagrams can be generated automatically using the [aquascape](https://zainab-ali.github.io/aquascape/) library. Finally, we'll bring our model to the masses. We'll use Scala.js to create interactive, browser-based diagrams that can be integrated into fs2's online documentation. By the end, we'll have a solid understanding of functional streams. With aquascape, you'll see that streams are not only easy to read, but easy to reason with too.
Up Next in Lambda World 25
-
From Exception Hell to Typed Bliss: R...
Error handling often turns into a production nightmare: monitoring alerts triggered by invalid user input, critical issues lost in log noise, and users abandoning forms after fixing one error at a time. Meanwhile, teams debate whether functional programming solutions are worth the steep learning ...
-
Starship Enterprise: Functional Progr...
Practicing functional programming inside a Fortune 100 enterprise can feel like flying the Starship Enterprise through asteroid fields of legacy code and bureaucracy. This talk shares hard-earned lessons from the Information Engineering team at JPMorganChase, which runs a production Scala codebas...