by marcocampana · 14y ago · 0 comments
Many other languages have similar abstractions — python and generators for instance http://www.dabeaz.com/generators/ — although their usage would likely require more work as they probably are not as standardized as far as usage goes.
I mean in this case it's "faster" to write it because somebody else had already gone through the motion of creating a zipping stream (which they still needed to fork), it's not like node magically did it.
tldr: the node community is re-discovering dataflow, and a few are trying to pass it as some sort of magical property of node.
Theres nothing specific about node (architectures scale not frameworks), I'm just saying that node makes this kinda of architecture relatively simple. Use the correct tool for the job.
also checkout lazy haskell lists, which provide a very powerful (and related) abstraction at the language level.