First release of Shed Skin, a Python-to-C++ compiler.
mark.dufour at gmail.com
Mon Sep 12 20:34:48 CEST 2005
>In general it's considered quite pythonic to catch exceptions :-)
>It's a particularly useful way of implementing duck typing for example.
>I'm not sure if I've got *any* code that doesn't use exceptions
Hehe. Okay. It will probably always be the case that you have to lose
some Python features if you want the code to run really fast. I
suppose PyPy's restricted Python subset doesn't support duck typing
either. Luckily not all code is performance critical, or you could
just try and optimize some performance critical part. But anyway, I'm
starting to understand that Shed Skin should probably support
exceptions wherever possible :-)
The main goal of Shed Skin is to be able to specify C++-like code at a
higher level, not to be able to optimize arbitrary Python programs..
:-) For the kinds of things I write (algorithmic-like code), I really
don't need the full flexibility of Python. It's just great to be able
to leave out type declarations, and to use the beautiful Python
>All the best,
More information about the Python-list