Re: Difference between pipes and ports

2021-08-11 Thread Zelphir Kaltstahl
Hello Mikael! Thank you, that makes it clearer. Different levels of abstraction and pipes of the OS level are represented as ports in Guile. I think I understand now. I quite like the ports concept with its many uses. Best regards, Zelphir On 8/11/21 5:16 AM, Mikael Djurfeldt wrote: > Hi Zelphir

Re: Difference between pipes and ports

2021-08-10 Thread Mikael Djurfeldt
Hi Zelphir! A port is a scheme level concept which represents input and output devices. Stdin, stdout and stderr are file descriptors which is an OS level concept. A pipe is also an OS level concept. It is a communication stream between two processes. In the OS, it is represented as a file descr

Difference between pipes and ports

2021-08-10 Thread Zelphir Kaltstahl
Hello Guile users, I recently came across https://www.draketo.de/software/guile-capture-stdout-stderr.html and wrote a commented version at https://notabug.org/ZelphirKaltstahl/guile-examples/src/master/input-output/stdout-stderr.s