Open BookOwl opened 7 years ago
Currently nemo uses threads and queues to implement piping. This isn't a very good solution for several reasons.
A single threaded solution would be much better. I've tried coroutines, but I can't get the code to work right without segmentation faults.
http://stackoverflow.com/questions/43237389/implementing-pipes-without-using-threads
futures (and specifically streams) seem like a good way to do this.
Currently nemo uses threads and queues to implement piping. This isn't a very good solution for several reasons.
A single threaded solution would be much better. I've tried coroutines, but I can't get the code to work right without segmentation faults.