News for hackers. Stuff that matters.
Re:How Python bytecode is executed by kzrdude on Monday November 09, 2020 @07:08PM (#25041487)
This is where "we" (in general) want to improve CPython for performance - a jit, or a faster interpreter would be interesting. Anyone have ideas about this? Pyston 2 seems to use dynasm, and then there's the core developer Mark who is proposing a paid project to speed up Python - he hasn't revealed what he has implemented yet.
Re:How Python bytecode is executed by jariel on Monday November 09, 2020 @07:57PM (#25041805)
GaalVM is ~5x faster for regular Python code, but considerably slower for native modules because it actually executes the native code, recompiled into llvm bitcode, in a kind of VM. Or at least that's partly the reason.

But raw Python is super speedy.

Re:How Python bytecode is executed by kzrdude on Tuesday November 10, 2020 @03:13AM (#25043753)
That's super cool. It's a shame we can't both have that and the CPython behaviour on native code.