Satyajit Sarangi bio photo

Satyajit Sarangi

I am a software engineer currently residing in Bay Area.

Email Twitter LinkedIn Github Stackoverflow

Posts Tagged “jit”

Posts Tagged “jit”

Adapting Luajit for Python 3

jit lua luajit python


February 4, 2016 . .
I have looked at spidermonkey and a few other JIT engines and kept on reading about LuaJit over and over again. I finally decided to look at Luajit closely and realized that it is a pretty complex piece of engineering but done single-handedly by Mike Pall. The number of source files is way smaller compared to spidermonkey or v8 but that's probably because Lua is much simpler than javascript. Since is fairly closer to python I wanted to try my hands out to modify Luajit's code to experiment if I could run basic python on it.

A simple python based JIT

python3 python jit


January 10, 2016 . .
A simple python based JIT with a C module backend which uses mmap to execute arbitrary x86 code.