Comment by ajb
This isn't using setjmp/longjmp
It's using Simon Tatham's method based on Duff's device (https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html)
This isn't using setjmp/longjmp
It's using Simon Tatham's method based on Duff's device (https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html)
"everything old is new again" is so true. I see it across IT all the time, heh.
Sure, I guess I just wanted to point out that regardless of method, people have been building these sorts of facilities in C for a very long time.
It doesn’t lessen the achievement of course, but it amuses me an in “everything old is new again” kinda way.