I admit, if it's possible, it would be open door to bad, very bad code... But in some specific cases...
So the question is, is there any equivalent of c setjmp/longjmp ?
I would like to implement a python-like generator without using threads, just saving the stack and the context, and restore it later.