Re:Inside cpyext: Why emulating CPython C API is so Hard
by typomatic on Friday September 21, 2018 @01:54PM
(#18041437)
Worth noting that the PyPy article links to a whole site devoted to the troubles and rehabilitation of the CPython API: https://pythoncapi.readthedocs.io/ . It's really exciting to see these backend concerns being addressed with depth and care, especially against the backdrop of syntactic sugar PEPs blowing up uglily.
[ Parent
| on HN ]
Re:Inside cpyext: Why emulating CPython C API is so Hard
by antt on Friday September 21, 2018 @06:31PM
(#18043163)
PyPy is one of the few projects that are doing good work, communicating their work well and making the right strategic decisions. At his rate I won't be surprised if python4 is just PyPy.
Re:Inside cpyext: Why emulating CPython C API is so Hard
by sitkack on Saturday September 22, 2018 @01:32PM
(#18046926)
If the PyPy team made something that was compatible with both Python2 and Python3, that Python would be that Python.
Re:Inside cpyext: Why emulating CPython C API is so Hard
by quotemstr on Friday September 21, 2018 @06:47PM
(#18043248)
Thanks. That's a good link. The proposal is a good start, although a bit lacking on the concrete design for a new API. I'm not sure there's a big need for innovation here though: JNI basically got it right. It provides full isolation from VM implementation details (especially of memory management) while not sacrificing performance or completeness. JNI has a bad reputation for some reason I've never fully understood, but it seems like an elegant approach to me.