TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How PyPy works

108 pointsby motiejusabout 13 years ago

3 comments

johnthedebsabout 13 years ago
For those interested in how PyPy works, I highly recommend watching these presentations by Dave Beazley about RPython:<p><a href="https://www.youtube.com/watch?v=GjnRLG8ATn4" rel="nofollow">https://www.youtube.com/watch?v=GjnRLG8ATn4</a><p><a href="https://www.youtube.com/watch?v=kkt_BtR9Kzk" rel="nofollow">https://www.youtube.com/watch?v=kkt_BtR9Kzk</a><p>Also, for those going, I believe he'll be talking about this in his keynote at PyCon.
jfasiabout 13 years ago
Well this is interesting.<p>That's a question I submitted while in the process of researching my final paper for Alfred Aho's advanced compilers course at Columbia University. In the paper, I discuss why compiling Python to C is difficult, and present some of the process that PyPy uses to make the translation happen for RPython.<p>Here's the link:<p><a href="http://www.scribd.com/thejfasi/d/83851011-COMS-6998-Final-Paper" rel="nofollow">http://www.scribd.com/thejfasi/d/83851011-COMS-6998-Final-Pa...</a><p>EDIT: The title of this post is slightly misleading. It doesn't discuss how PyPy works, just how the translation framework happens.
cgranadeabout 13 years ago
On the topic, there was an article about using RPython to quickly implement PyPy-like JIT VMs. <a href="http://tratt.net/laurie/tech_articles/articles/fast_enough_vms_in_fast_enough_time" rel="nofollow">http://tratt.net/laurie/tech_articles/articles/fast_enough_v...</a>