3 ms·
...or in Python with generators/iterators. Or in Lua with coroutines. Or in Rust with iterators... I guess most higher-ish languages at some point gain support
by throw_a_grenade 4y ago
...or in Python with generators/iterators. Or in Lua with coroutines. Or in Rust with iterators...
I guess most higher-ish languages at some point gain support/framework for something like this. But the point stands: there's something both simple and powerful with pipeline abstraction. I think of pipeline as a way of thought. Something that bridges the gap between "user" and "programmer". It's no wonder some of that "way of thinking" was implemented into programming languages (with obvious and non-obvious implications, not limited to memory requirements).
- dhosek 4y agoThese are all syntax though (except perhaps Lua’s coroutines—I don’t know enough to say about those). It’s not the syntax that’s the wonderful part about pipes, it’s the parallelism. See my other post with some Java code in this thread.