2 ms·
Doesn’t python have channels? The pipe is essentially a channel combined with a close message (a null object I guess) Otherwise you can do something similar wit
by swiley 7y ago
Doesn’t python have channels? The pipe is essentially a channel combined with a close message (a null object I guess) Otherwise you can do something similar with iterators and function composition. I guess the syntax isn’t quite as easy to read if you’re not used to function composition?(which seems surprisingly difficult for some beginners)
- fiddlerwoaroof 7y agoShell pipes are fairly low overhead because they are an os primitive.
- swiley 7y agoI really wouldn’t call pipes “low overhead.”