First release of Shed Skin, a Python-to-C++ compiler.

Discussion in 'Python' started by Mark Dufour, Sep 12, 2005.

  1. Mark Dufour

    Mark Dufour Guest

    In general it's considered quite pythonic to catch 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
    Mark Dufour, Sep 12, 2005
    1. Advertisements

  2. Mark Dufour

    Fuzzyman Guest

    Ok - the point I was trying to make was that exceptions were pretty
    integral to Python. I accept that losing the more dynamic features of
    Python for 'compilation' is a possibly worthwhile tradeoff.

    How easy is it going to be to call your c++ code from Python (and vice
    versa) ?

    Fuzzyman, Sep 13, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.