Shed Skin Python-to-C++ Compiler 0.0.21, Help needed

Mark Dufour mark.dufour at gmail.com
Sun Jul 1 13:09:43 EDT 2007


hi felix,

On 6/29/07, felix seltzer <squabbit8 at gmail.com> wrote:
> does this project include support for pygtk type GUI's?

No, it won't work for arbitrary python programs. Shed Skin is
currently limited to smallish programs (up to a few hundred lines),
that only use a few basic modules (random, math, string, and a few
others) and are written in the static subset of Python that Shed Skin
supports.

A serious pygtk program would probably be too large and too dynamic to
compile directly.  Instead, you'd typically move some speed-critical
functionality to a separate module, and compile this into an extension
module or separate program.

Look at Shed Skin as something that allows you to write fast extension
modules in pure Python, not as something that can convert arbitrary
Python programs.


Thanks,
Mark Dufour.
-- 
"One of my most productive days was throwing away 1000 lines of code"
- Ken Thompson



More information about the Python-list mailing list