Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't practically bootstrap an interpreted language. That being said, I'd be intrigued to see PHP run using multiple nested interpreters from different language versions.


Many Lisp interpreters are bootstrapped, have a glance over the examples of meta-circular evaluators at Wikipedia: [0]

[0] https://en.wikipedia.org/wiki/Meta-circular_evaluator#Exampl...


PyPy is Python implemented largely in Python, and it supposedly is faster than python's C implementation.


Depends on what you define as interpreter, as RPython, the language that PyPy uses, actually has a VirtualMachine, turning PyPy more into a bytecode interpreted language... Which some people argue isn't a straight interpreted language.


> PyPy is Python implemented largely in Python

It's actually a superset of a subset of Python and it's called RPython: http://rpython.readthedocs.io/en/latest/rpython.html

> it supposedly is faster than python's C implementation

Only if its JIT compiler gets a chance to trace and compile some code which is then executed often enough to make up for the overhead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: