3 ms·
Building a whole new interpreter and accompanying compiler tiers is a lot of work, still in 2023. Many different projects have tried to make this easier, provid
by titzer 3y ago
Building a whole new interpreter and accompanying compiler tiers is a lot of work, still in 2023. Many different projects have tried to make this easier, provide reusable components, to offer toolkits, or another VM to build on top of. But it seems that none of these really apply, we're still at the "every language implementation is a special snowflake" territory. That's partly the case in Python just because the codebase has accumulated, rather nucleated, around a core C interpreter from 30 years ago.
IMHO the Python community has intentionally torpedoed all competing implementations of Python besides CPython to its own detriment. They seem to constantly make the task of making a compatible VM harder and harder, on purpose. The task they face now is basically building a new, sophisticated VM inside a very much non-sophisticated VM with a ton of legacy baggage. A massive task.