Hello, On Mon, May 31, 2004 at 10:56:55PM +0200, "Martin v. Löwis" wrote: > >Alternatively, Armin believes that Stackless "hard switching" can > >actually be implemented in mostly-platform-neutral C (either by > >setjmp/longjmp or alloca hacks, I forget which) > > It is setjmp/longjmp. I have implemented a coroutine library on > top of setjmp/longjmp myself, so I am well aware of the implications. Actually, it was alloca(), and would be a real C hack that would probably fail on some platforms, depending on the phase of the moon. The idea was that alloca() can be abused to change the stack pointer almost freely. Not-easy-to-shake-off-a-C-hacking-reputation'ly yours, Armin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4