5 ms·
Would a large codebase seemlessly run on another interpreter?
by quickthrower2 3y ago
Would a large codebase seemlessly run on another interpreter?
- tgv 3y agoI think you underestimate the problems that will occur in a large code base when the GIL is gone. It'll play out like this: Test will be fine, but production will have some weird bugs. Nobody understands it. The devs end up adding locks everywhere, bringing down performance, or creating dead locks. In the end, they migrate back to Python 3.16. Here's free lesson number 1: start adding stress tests now.
- bafe 3y agoNot likely, particularly if you depend on modules written (partly) in C like numpy/scipy etc
- quickthrower2 3y agoI just did some searching around PyPy and that seems to be the case. IronPython is out of support now but the looks of it. Which is a shame. I heard of it 10 years ago, but assumed it was some "Microsoftized Python" and not at all a compatible thing :-)
- bafe 3y agoThe same happened to jython which is all but dead and stuck forever at python 2.7 If you stick to "pure Python" there's a larger chance you can use any python runtime and be able to run your code