Aaron DeVore wrote:
> Wouldn't Cython be a bit big for the stdlib? It would be the largest
> single piece of the standard library, with the possible exception of
> Tkinter.

Counting the .py files from the Cython package gives me 1.1MB for 69
source files, the tests are about 600K, so that's less than 2MB in total.
I don't think that makes the Python distro fat, given that Py3.0rc1 is
about 95MB and Py2.6 is about 56MB unpacked.

Python 2.6 comes with 1975 .py files (of which 1164 get installed on my
side). They take up about 20MB in the distro and 15MB installed. Adding
Cython to that would mean increasing the amount taken up by installed
Python files to 16MB instead. My hard drive is capable of handling that,
Linux distributions will split the stdlib anyway, as will embedded
devices.

On the other hand, if we can manage to bootstrap modules in the stdlib
that get written in Cython so that they can be shipped as Cython code
instead of C code, that would actually decrease the size of the shipped
stdlib, so that we can end up better than before. :-)

Although it's likely that the installed binary modules become bigger than
what we have today... ;-)

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to