3 ms·
It would be nice to see Rpython/pypy turned into a project not unlike WebKit where many different projects benefit from the same open-source core. If pypy is fl
by hemancuso 14y ago
It would be nice to see Rpython/pypy turned into a project not unlike WebKit where many different projects benefit from the same open-source core. If pypy is flexible enough to implement all of ruby and all of Python, has a reasonable amount of maturity, and is already rather fast it seems like a good candidate for such a thing.
- aaronblohowiak 14y agohttps://bitbucket.org/cfbolz/pyrolog/ https://bitbucket.org/cfbolz/pyrolog/ https://bitbucket.org/pypy/lang-smalltalk/ https://bitbucket.org/pypy/lang-smalltalk/ https://bitbucket.org/pypy/lang-js/ https://bitbucket.org/pypy/lang-js/ https://bitbucket.org/pypy/lang-scheme/ https://bitbucket.org/pypy/lang-scheme/
- masklinn 14y agohttp://tratt.net/laurie/tech_articles/articles/fast_enough_vms_in_fast_enough_time http://tratt.net/laurie/tech_articles/articles/fast_enough_v... is probably the best example, because — as far as I know — outside of having reimplemented his Converge in RPython Laurence Tratt is not affiliated with the pypy project in any way, shape or form.
- graue 14y agoAmazing link, very clear and well-written description of how PyPy works and great background for understanding this announcement, thanks!
- lloeki 14y agoQuick how-to: 1. (optional) install PyPy "JIT compiler" binaries [0] 2. get and extract the PyPy source[1] from bitbucket release packages, which includes the RPython translator, written itself in Python and, although working on CPython, best run under PyPy as installed on step 1. 3. write a (R)Python module including a def target returning the entry point function[2], and call the translator upon your module, like so: python ./pypy/pypy/translator/goal/translate.py example2.py I wish getting the translator was more 'packaged' and did not involve getting the whole PyPy source but I hear this is in the works, and it is reasonably easy already. The hardest part is actually figuring the translator is not part of PyPy binary release, and that it's available straight from bitbucket. [0]: http://pypy.org/download.html http://pypy.org/download.html [1]: https://bitbucket.org/pypy/pypy/get/release-1.9.tar.bz2 https://bitbucket.org/pypy/pypy/get/release-1.9.tar.bz2 [2]: http://morepypy.blogspot.fr/2011/04/tutorial-writing-interpreter-with-pypy.html http://morepypy.blogspot.fr/2011/04/tutorial-writing-interpr...
- fijal 14y agoyeah, working on it, sorry :/