If one wants to implement coroutines in pure C, setjmp and longjmp is probably not the thing to use as it does not allow to have a separate C stack for each coroutine.
One should probably use makecontext and swapcontext on stacks allocated with mmap (with MAP_GROWSDOWN, lighter than malloc). [credits to Justine from the readbean Discord]. I learned somethign new again.
