The REPL alone makes things very dynamic as everything you enter into the REPL is dynamically parsed, compiled, and executed by the interpreter right then and there. For instance, PyPy has a baseline interpreter that they JIT from, but there are many things you can use in Python which force PyPy to turn off the JIT and stick with bytecode. Python as implemented by CPython is very dynamic and exposes many things that only make sense if you implement Python using an interpreter somehow. Basically most implementations of Python that I know of strive to pass CPython's test suite and to be as compatible with CPython as possible. PyPy tries to be so compatible that they will implement implementation details of CPython. That all excites me.īut when thinking about the daunting task of creating a new implementation of Python, my brain also began asking the question of what exactly is Python? We have lived with CPython for so long that I suspect most of us simply think that "Python = CPython". It would not only get Python into the browser, but with the fact that both iOS and Android support running JavaScript as part of an app it would also get Python on to mobile. It's no secret that I want a Python implementation for WebAssembly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |