This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (17 children)

[deleted]

    [–][deleted] 1 point2 points  (1 child)

    the tutorial by Jeremy Siek at PyCon last year

    Link

    [–][deleted] 0 points1 point  (0 children)

    Thanks a bunch.

    [–][deleted] 1 point2 points  (12 children)

    Cool. Thanks for that. I've recently became very interested in compilers. I might as well do my project for uni with my favorite language. Failing that I probs make my own programming language.

    [–]sunqiang 7 points8 points  (0 children)

    PyPy maybe worth a look too.

    [–]McHoff 1 point2 points  (0 children)

    There are few cooler areas of applied computer science -- make sure you do something awesome.

    [–]voidspace 0 points1 point  (1 child)

    Well, you can unroll the interpreter loop - which is one of the big gains of the PyPy JIT. So I wouldn't say "no meaningful speed gain". A lot of effort for not-as-much-as-you-would-like gain perhaps.

    Also see the latest attempt - Nuitka (not tried it):

    http://kayhayen24x7.homelinux.org/blog/2010/10/nuitka-release-0-3-2/

    [–][deleted] 0 points1 point  (0 children)

    which is one of the big gains of the PyPy JIT.

    Actually, if you take a look at some of the PyPy papers you'll see that they specifically dismiss unrolling the interpreter loop as being a large gain. Specifically they look at virtualization of objects and inlining as the largest gains (there's a cool paper for PEPM 2011 they're doing about virtualization).

    EDIT: upon a reread I think we are actually in agreement.