Dr. C. Scott Ananian (cananian) wrote,
Dr. C. Scott Ananian
cananian

Binding python to v8

Google's v8 virtual machine (part of Chrome) is really great, from a virtual-machine-implementer's perspective. It would be a fantastic backend for Python, because of the way that object mutation and method dispatch is handled. I thought of hacking together a proof-of-concept, but decided that my work at OLPC wasn't really benefited by my going off to spend a year writing a fast Python runtime.

Luckily, I don't have to: pyv8 is a proof-of-concept implementation of just such a thing! And it's ten times faster than standard interpreted Python -- although it should be noted that this is for a strictly toy benchmark.

What's missing is bypassing pyjamas and working directly from python bytecode, and a better attempt at providing python standard library support. Hopefully other bright minds are hard at work on this!
Tags: olpc, python, v8
Subscribe

  • On Dog Parks In Somerville

    Perry Park in Somerville is being renovated; there were plans to include an off-leash recreational area for dogs in the renovation. The abutting…

  • The RebDog goes home...

    ...or rather, she is home already! I'll let Jessica tell the story: So after reading her bio (which of course, I wrote) and a few days of…

  • Baby Goes Home

    Our first foster greyhound, Baby Go (racing name "Go Go Baby Go"), was adopted yesterday morning by a charming woman (and her mom) who are certain…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment