3 ms·
And this is a presentation explaining why generators may be extremely useful for all kind of data pipelines: https://www.dabeaz.com/generators/Generators.pdf ht
by atoav 3y ago
And this is a presentation explaining why generators may be extremely useful for all kind of data pipelines: https://www.dabeaz.com/generators/Generators.pdf https://www.dabeaz.com/generators/Generators.pdf
If you don't know it already, it is really worth looking into. I am a python dev with nearly a decade of experience and I knew generators, and yet this was still an eye opener.
- thenberlin 3y agoWow, thanks for that -- that's an excellent slide deck.
- azeirah 3y agoNote that despite this being a python-specific slide deck, generators and iterators are also present in many other languages, including but not limited to Rust and JS. The concepts matter more than the chosen language in this deck. I learned a lot! Looks like I can apply this to a PHP trace/profile parser project, especially the pipelined parsing and the query language idea.