A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-June/045453.html below:

[Python-Dev] Stackless Python

[Python-Dev] Stackless PythonArmin Rigo arigo at tunes.org
Thu Jun 17 14:48:01 EDT 2004
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

More information about the Python-Dev mailing list

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