I don't know how CPUs work so I simulated one in code
You can also do this with UNIX pipes and a few small C programs, apparently.
<a href="https://www.linusakesson.net/programming/pipelogic/index.php" rel="nofollow">https://www.linusakesson.net/programming/pipelogic/index.php</a>