Get the latest tech news

Out-Fibbing CPython with the Plush Interpreter


Out-Fibbing CPython with the Plush Interpreter

The implementation is still immature, but it's reached a point where I can write fun programs that produce 2D/3D graphics and parallelize things over multiple CPU cores. This is not a bad thing to measure though, as function calls are central to modern programming languages, and they can also be a significant source of overhead. I then made it so that the call_direct instruction will trigger the compilation of a function if necessary, and then overwrite itself with a call_pc, which doesn't need to do a hash lookup anymore.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of fibbing cpython

fibbing cpython

Photo of plush interpreter

plush interpreter