Hacker News new | ask | show | jobs
by glutamate 1061 days ago
This is the way any interpreted language works, the interpreter has to be written in something and for good performance this has to be a compiled language
1 comments

Usually. Pypy is a counterexample, with a JIT compiler written in Python: https://www.pypy.org/
It’s written in a very restricted variant of Python, rpython: https://rpython.readthedocs.io/en/latest/rpython.html
"RPython is a subset of Python2 that can be statically compiled. The PyPy interpreter is written mostly in RPython (with pieces in Python), while the RPython compiler is written in Python." - https://rpython.readthedocs.io/en/latest/getting-started.htm...