Get the latest tech news

Following Up on the Python JIT


Performance of Python programs has been a major focus of development for the language over the [...]

He showed the bytecode for the stack-based Python virtual machine that was generated by the interpreter and stepped through one iteration of the loop describing the changes to the stack and to the duck and sound local variables. He noted that the term "executable data" should be setting off alarm bells in people's heads; " if you're a Rust programmer, this is what we call 'unsafe code'" he said to laughter. The Faster CPython developers think that making the JIT thread-safe can be done without too much trouble; " it's going to take a little bit of work and there's kind of a long tail of figuring out what optimizations are actually still safe to do in a free-threaded environment".

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of jit

jit

Related news:

News photo

.NET 10 Preview 6 brings JIT improvements, one-shot tool execution

News photo

Tinyio: A tiny (~200 line) event loop for Python

News photo

Why MIT switched from Scheme to Python (2009)