PyPy 1.5

936 views

Published on

Updates on PyPy 1.5, tour of CPython and RPython main loop

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
936
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PyPy 1.5

  1. 1. PyPy 1.5 jss 2011-05-05
  2. 2. Alternative Implementations• CPython• Psyco• Unladen Swallow• PyPy
  3. 3. psyco• import psyco• Just in Time (JIT) Compilation• JIT Specialization• 32bit only• maintenance only - latest version 1.6 is 3 years old
  4. 4. Unladen Swallow• started as Google Project, but ppl. pulled mid 2010• JIT: LLVM back-end for CPython• Plus lots of little tweaks - got pushed upstream from 2.6.1 onwards• PEP 3146 (accepted): merge into CPython• Targeting 3.3, but stale for 10 months - no interest on python-dev
  5. 5. PyPy• Python in Python• JIT• RPython (details later in the interactive session)
  6. 6. PyPy 1.5• Improved C Module Support• JIT for 86 and 86_64!• CPython 2.6 and 2.7 compatible• Gaining momentum: Compatibility list online, Numpy in development
  7. 7. __future__ PyPy 1.6CPython 2.6 CPython 2.7 CPython 3.3
  8. 8. Code Tour• python dis module• CPython Main Loop• BINARY_ADD• Manual tracing

×