3 ms·
Has anyone used PyPy to create an entirely new language? Because it's fast and defined in a higher level language, it seems like a prime candidate for language
by m0th87 16y ago
Has anyone used PyPy to create an entirely new language? Because it's fast and defined in a higher level language, it seems like a prime candidate for language design experimentation.
- magcius 16y agoYes, there has been someone, I think it was Alex_Gaynor, who created a test language to test and help document the JIT process. There's some implementations here, including a gameboy emulator: https://codespeak.net/viewvc/pypy/lang/ https://codespeak.net/viewvc/pypy/lang/ That said, it's not the best think to piggyback on for languages, because as of recent a lot of the optimizations are really fine-tuned for Python, and popular Python libraries like Django and Twisted. It's also very nice for other languages too, because it implements the Python stdlib only, and I'm not quite sure how easy or possible "moving stuff around" (i.e. merge os and os.path or separate them even further) would be.