3 ms·
PyPy JIT is unsuccessful because CPython makes it hard for PyPy, not because people don't want it. When there's a need and support for it, we have extremely goo
by saagarjha 6y ago
PyPy JIT is unsuccessful because CPython makes it hard for PyPy, not because people don't want it. When there's a need and support for it, we have extremely good JITs spring into existence–JavaScript has at least three, for example.
- sitkack 6y agoCPython needs to grow up and not hoard the ecosystem. A successful PyPy is a successful Python.
- setr 6y agoI don't think they're doing anything in particular to hinder PyPy -- the damage was done long back, when things like the C-API exposed too much detail on CPython internals that severely limit PyPy's potential to replace it with more optimal systems/datastructures
- sitkack 6y agoThe issue with crowding out alternative Pythons is a socio-political one. The C-API issue is as well, as you said Python extensions are over coupled to the runtime. ctypes and subsequently cffi fixed this 10+ years ago. 1. Decouple the extension mechanism. Use cffi 2. Modularize the batteries Each alternative Python has to re-implement large swaths of the stdlib. The code is the spec in Python. Stackless got the PyPy treatment before PyPy even existed. Besides PyPy, we now have graalpython, rustpython and ... https://github.com/beeware/ouroboros/issues/21 https://github.com/beeware/ouroboros/issues/21 points to a python stdlib I had never heard of, https://github.com/pfalcon/pycopy-lib https://github.com/pfalcon/pycopy-lib The point is, the core CPython devs need stop being so selfish with their toys. The greater Python ecosystem is diverse in spite of their actions not because of it.
- ksec 6y agoIt is similar situation in CRuby as well.