Comment by sitkack
8 years ago
It is a tractable amount of work ~40-80 hrs to convert CPython from a sea-of-globals to a context based system where one could then have a distinct Python interpreters in the same address space, as it is now. You get one. Lua got this right from the beginning, Lua state doesn't leak across subsystems. There is zero chance I would do this work and then see of it would stick. I am going to waste 2 weeks of full time work and then have the CPython folks say, yeah, no, because reasons.
Startup time should be fixed, Python does way too much when it boots, using blank files.
$ time lua t.lua
real 0m0.006s
user 0m0.002s
sys 0m0.002s
$ time python t.py
real 0m0.052s
user 0m0.036s
sys 0m0.008s
No comments yet
Contribute on Hacker News ↗