Wow. Is this going to replace efforts to "implement stackless in PyPy"? If those still exist?

Regards,
Henning

Christian Tismer wrote:
Hit the wrong button...

The idea is to implement the code for context switching using Psyco's technology and by patching Python at runtime. Patching the Python source is no longer necessary. Instead, certain important locations in the interpreter will be analysed at runtime. Stackless will have descriptions of these places that allow to generate code to unwrap and restorr the stack and to jump to these locations.

The approach is not easy, since it involves partial disassembling of machine code. Also it is more platform dependant than ever. But it is the most versatile solution I can come up with.

The Stackless module which is hard-wired into Stackless will become a plain Python module that can take full advantage of Psyco.

That's just a short brain-dump. I' happy to get your thoughts. Ciao - chris

Sent from my iPhone

On 19.01.2010, at 19:29, Christian Tismer <[email protected]> wrote:

Howdy!

I have a new concept in mind that might replace Stackless as it is known. Just a quock note, as I am away from my machine.

The plan is to get a Stackless without any restrictions, as a plain extension module, and with full Psyco support.

Sounds like an April joke? No, I'm just leveling up on craziness. ;-)



Sent from my iPhone

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless


_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to