Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ANN: Shed Skin 0.0.30,an experimental (restricted-)Python-to-C++ Compiler

Reply
Thread Tools

ANN: Shed Skin 0.0.30,an experimental (restricted-)Python-to-C++ Compiler

 
 
Mark Dufour
Guest
Posts: n/a
 
      12-05-2008
Hi all,

I have just released version 0.0.30 of Shed Skin, an experimental
(restricted) Python-to-C++ compiler.

Most importantly, this release adds (efficient) support for
user-defined classes in generated extension modules, which should make
it much easier to integrate compiled code within larger projects. More
specifically, compiled classes can now be instantiated on the CPython
side, and instances can be passed freely between CPython and Shed Skin
without any conversion taking place. (Instances of builtin classes are
still (recursively) copied, though, at the moment..)

Another major improvement was contributed by FFAO: a new 'set'
implementation, directly based on the CPython code. While I haven't
tested it on many benchmarks, it is clear that is now much faster, and
on one benchmark it even outperforms CPython on my system by about
35%.

Other notable changes include complex number support, mapping None to
NULL instead of 0 and printing it as 'None', as well as an important
type inference fix.

With support for user-defined classes in extension modules, it looks
like all the major pieces are now there to do a 0.1 release. The only
thing I'd really like to do before that, is to improve support for the
'os' module. Please let me know if you'd like to help out here!
Hopefully, with many details out of the way, I can have another good
look at type inference for 0.2..


Thanks,
Mark.
--
"One of my most productive days was throwing away 1000 lines of code"
- Ken Thompson
 
Reply With Quote
 
 
 
 
Paul Boddie
Guest
Posts: n/a
 
      12-05-2008
On 5 Des, 12:24, "Mark Dufour" <(E-Mail Removed)> wrote:
> Hi all,
>
> I have just released version 0.0.30 of Shed Skin, an experimental
> (restricted) Python-to-C++ compiler.


I think Mark forgot to post some links.

http://shed-skin.blogspot.com/
http://code.google.com/p/shedskin/

Paul
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANN: Shed Skin 0.2, an experimental (restricted) Python-to-C++compiler Mark Dufour Python 27 07-27-2009 11:16 AM
First release of Shed Skin, a Python-to-C++ compiler. Mark Dufour Python 14 09-18-2005 08:10 PM
First release of Shed Skin, a Python-to-C++ compiler. Mark Dufour Python 1 09-12-2005 02:41 PM
First release of Shed Skin, a Python-to-C++ compiler. Mark Dufour Python 0 09-11-2005 03:42 PM



Advertisments