minus-squareNarann@jlai.lutoPython@programming.dev•Despite 30 months work, core developer says Python's JIT compiler is often slower than the interpreterlinkfedilinkEnglisharrow-up8arrow-down1·5 days agoPython typing system is the reason of its huge flexibility, but as many other scripting language, it’s also what makes it so hard to optimize. I have no idea how you can change that without bringing some “JIT-oriented” features inside the Python language itself. I still hope for the best, but I’m unsure we will be able to see an efficient JIT system inside CPython soon. PyPy had to rewrite the whole Python implementation in a JIT focused way, and even with that, they are (not uncommon) cases when PyPy is slower. linkfedilink
minus-squareNarann@jlai.lutoPython@programming.dev•Opinions: Do you feel Python is a more object-oriented or procedural language?linkfedilinkarrow-up1·20 days agoMost of my objects are actually dataclasses. linkfedilink
minus-squareNarann@jlai.lutoWorld News@lemmy.world•*Permanently Deleted*linkfedilinkEnglisharrow-up8·edit-23 months agoF*ck grammar! linkfedilink
Python typing system is the reason of its huge flexibility, but as many other scripting language, it’s also what makes it so hard to optimize.
I have no idea how you can change that without bringing some “JIT-oriented” features inside the Python language itself.
I still hope for the best, but I’m unsure we will be able to see an efficient JIT system inside CPython soon.
PyPy had to rewrite the whole Python implementation in a JIT focused way, and even with that, they are (not uncommon) cases when PyPy is slower.