News for hackers. Stuff that matters.
Re:Bash $* and $@ (2017) by swiley on Sunday January 12, 2020 @03:06PM (#22028854)
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)
Re:Bash $* and $@ (2017) by fiddlerwoaroof on Sunday January 12, 2020 @04:31PM (#22029593)
Shell pipes are fairly low overhead because they are an os primitive.
Re:Bash $* and $@ (2017) by swiley on Monday January 20, 2020 @09:26AM (#22098975)
I really wouldn’t call pipes “low overhead.”