Life is but a Stream
summary
Compares Elixir’s Enum and Stream with live IE X demos and benchmarks using ranges, Integer.to_string, String.graphemes, Enum.to_list, Enum.take and Stream.run; shows Stream is lazy and returns a pipeline until a consumer requests values. Benchmarks show Stream is modestly slower when you fully collect (to_list), but wildly faster when you only need a subset (take 4): with long pipelines and 10M items Enum becomes millions of times slower. Demos and timings are concrete and reproducible.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:27enum is awesome
- 3:20enum map
- 5:34large collections
- 7:02pipe
- 8:15stream
- 13:44enum vs stream
related talks
01h 06mKeynote – José Valim
47mLivebook & Elixir: Where AI, Web & Concurrency Meet
39mIntroducing Elixir: Your entire web stack
23mXStream: Stream Processing Platform at Facebook
45mLearn Elixir by Building a Real Time CLI Chat App (Part 1)
51mStream all the things! - life at the end of the firehose
42mBuilding a Streaming (E-health) Data Pipeline: When and How?
04mNeville Li Interview
