Re: [Python-Dev] [ANN] VPython 0.1

2008-10-25 Thread Stefan Behnel
Greg Ewing wrote:
> A.M. Kuchling wrote:
> 
>> A stray thought: does using a generator for the VM make life easier
>> for the Stackless Python developers in any way?  Does it make it
>> possible for stock CPython to become stackless?
> 
> I doubt it. A major barrier to stacklessness is that
> a lot of extension modules would need to be rewritten
> in a completely different way. Just changing the VM
> isn't going to make a difference to that.

That's obviously a problem, but it only answers the second question, not the
first one.

Stefan

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [ANN] VPython 0.1

2008-10-25 Thread Greg Ewing

A.M. Kuchling wrote:


A stray thought: does using a generator for the VM make life easier
for the Stackless Python developers in any way?  Does it make it
possible for stock CPython to become stackless?


I doubt it. A major barrier to stacklessness is that
a lot of extension modules would need to be rewritten
in a completely different way. Just changing the VM
isn't going to make a difference to that.

--
Greg
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [ANN] VPython 0.1

2008-10-25 Thread Phillip J. Eby

At 07:50 AM 10/25/2008 -0400, A.M. Kuchling wrote:

On Sat, Oct 25, 2008 at 04:33:23PM +1300, Greg Ewing wrote:
> Maybe not, but at least you can follow what it's doing
> just by knowing C. Introducing vmgen would introduce another
> layer for the reader to learn about.

A stray thought: does using a generator for the VM make life easier
for the Stackless Python developers in any way?  Does it make it
possible for stock CPython to become stackless?


Dunno about that, but I do know that having stack effect info for the 
bytecode could help with things like bytecode verification (without 
having to define a bunch of magic constants that duplicate 
information from the innards of ceval.c).


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [ANN] VPython 0.1

2008-10-25 Thread A.M. Kuchling
On Sat, Oct 25, 2008 at 04:33:23PM +1300, Greg Ewing wrote:
> Maybe not, but at least you can follow what it's doing
> just by knowing C. Introducing vmgen would introduce another
> layer for the reader to learn about.

A stray thought: does using a generator for the VM make life easier
for the Stackless Python developers in any way?  Does it make it
possible for stock CPython to become stackless?

--amk
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com