[Python-Dev] IO implementation: in C and Python? (original) (raw)

Collin Winter collinw at gmail.com
Fri Feb 20 06:09:17 CET 2009


On Thu, Feb 19, 2009 at 9:07 PM, Guido van Rossum <guido at python.org> wrote:

On Thu, Feb 19, 2009 at 8:38 PM, Brett Cannon <brett at python.org> wrote:

On Thu, Feb 19, 2009 at 19:41, Benjamin Peterson <benjamin at python.org> wrote:

As we prepare to merge the io-c branch, the question has come up [1] about the original Python implementation. Should it just be deleted in favor C version? The wish to maintain the two implementations together has been raised on the basis that Python is easier to experiment on and read (for other vm implementors).

Probably not a surprise, but +1 from me for keeping the pure Python version around for the benefit of other VMs as well as a reference implementation. You have been practice channeling me again, haven't you? I like the idea of having two (closely matching) implementations very much.

Agreed. In particular, this helps any projects that are focused on improving the performance of pure-Python code: they can work on minimizing the delta between the Python and C versions.

Collin



More information about the Python-Dev mailing list