Slashdot Mirror


Project Aims For 5x Increase In Python Performance

cocoanaut writes "A new project launched by Google's Python engineers could make the popular programming language five times faster. The project, which is called Unladen Swallow, seeks to replace the Python interpreter's virtual machine with a new just-in-time (JIT) compilation engine that is built on LLVM. The first milestone release, which was announced at PyCon, already offers a 15-25% performance increase over the standard CPython implementation. The source code is available from the Google Code web site."

14 of 234 comments (clear)

  1. Re:Unladen Swallow by Rip+Dick · · Score: 3, Funny

    What if Oprah's ass got 5x's smaller?

  2. How fast is five times faster really? by LingNoi · · Score: 5, Funny

    They say five times faster however it really depends on if they're talking about a European or African Python Interpreter.

    1. Re:How fast is five times faster really? by ArsonSmith · · Score: 4, Funny

      Java spokes person: "5x faster? We already do that."

      Java spokes person to other java people: "(whisper)Hehe, I told them we already do that. Hehe."

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    2. Re:How fast is five times faster really? by meringuoid · · Score: 5, Funny

      Joking aside, though, I find this target to be overambitious. Speeding up by a factor of three would be plausible; two would be OK, but I'd hope they'd keep working on it to get it up to three. Four strikes me as unlikely, and five is right out.

      --
      Real Daleks don't climb stairs - they level the building.
    3. Re:How fast is five times faster really? by AigariusDebian · · Score: 4, Funny

      The difference is more like between:


      Prepare the bread.
      Put the sauce on the bread.
      Put the cheese on the sauce on the bread.
      Bake.

      And:

      define PizzaDoughFactory : AbstractDoughFactory{
              sub PizzaDoughFactory( PizzaDoughFactory cls, Integer thickness ){
                      cls.AbstractDoughFactory( thickness )
              }

              sub Sauce ( PizzaDoughFactory cls, Topping top){
                      cls.toppings = org.coolpace.JavaSmart.List( -1 )
                      cls.toppings.appendToTop( top )
              }
      }

      define PizzaCreator : AbstractApplication {
              def main( Integer argc, String *argv ){
                      new pizza = PizzaFactory()
                      pizza.set_dough = PizzaDoughFactory()
                      sauce = SauceFactory()
                      cheese = CheeseFactory()
                      pizza.dough.Sauce( sauce )
                      pizza.dough.Sauce( cheese ) // historically all toppings are called sauces as well
                      new ready_pizza = PizzaBakery( pizza )
              }
      }

  3. Re:Unladen Swallow by davester666 · · Score: 5, Funny

    It would still be huge! :-)

    --
    Sleep your way to a whiter smile...date a dentist!
  4. slowed it down by half? by Anonymous Coward · · Score: 5, Funny

    0.5x slower is like 2x faster, right? Reciprocals?

  5. Re:It's probably pining for the fiords. by koiransuklaa · · Score: 1, Funny

    So much for Parrot.

    No no, he's not dead, he's... he's resting! Remarkable bird, the Norwegian Blue, ay?

  6. Binspam by Thelasko · · Score: 5, Funny

    I get emails claiming to increase my python's performance all of the time, I just delete them.

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  7. Any Hope? by Anonymous Coward · · Score: 2, Funny

    Is there any hope that we will move away from these boutique programming languages and back to "real languages" that seriously consider size and performance?

    I for one am completely sick and tired of 3Ghz multicore processor machines with gigabytes of RAM running like a 486. Languages like Python don;t help in the bloat arena and the scripting languages made out of frameworks on top of other scripting languages are just ludicrous!

  8. Re:This is a very interesting project by Tumbleweed · · Score: 4, Funny

    I'm not quite sure what benefits this gives that Psyco doesn't already.

    It doesn't get as stabby.

  9. Re:This is a very interesting project by Anonymous Coward · · Score: 1, Funny

    - No Windows support (apparently a Linux-only VM in the plans)

    They're trying to atone for their Chromium sins. You Windows lusers* will get a pre-alpha version ... eventually. The import statement won't work and every function call will print 'Stop! This VM isn't ready yet!' But you'll get something.

    * And I say this without any animosity.

  10. Re:It's probably pining for the fiords. by jd · · Score: 2, Funny

    The Parrot Sketch backfired not that long ago when fossils of a parrot (that probably was blue) were found in Norway. Not too far from the Fjords, as I recall. It is, however, quite dead.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  11. Re:i submitted this story to slashdot before you by maxume · · Score: 2, Funny

    Here's your cookie:

    /^\
    \_/

    --
    Nerd rage is the funniest rage.