12 points | by jaromilrojo 8 hours ago ago
4 comments
As a fun project we hacked a C interpreter (based on tinyCC) that compiles C code in-memory and runs it live. CJIT today is a 2MB executable that can do a lot, including call functions from any installed library on Linux, Windows, and MacOSX.
SOUND SPECTACULAR!!! <3
That saves a lot of time.
Nice and fun tiny piece of code !!!!
As a fun project we hacked a C interpreter (based on tinyCC) that compiles C code in-memory and runs it live. CJIT today is a 2MB executable that can do a lot, including call functions from any installed library on Linux, Windows, and MacOSX.
SOUND SPECTACULAR!!! <3
That saves a lot of time.
Nice and fun tiny piece of code !!!!