Get the latest tech news

Lightstorm: Minimalistic Ruby Compiler


Some time ago I was talking about an ahead-of-time Ruby compiler. We started the project with certain goals and hypotheses in mind, and while the original compiler is at nearly 90% completion, there are still those other 90% that needs to be done.

As mentioned in the beginning, building a full-fledged AOT compiler is a laborious task which requires time and has certain constraints. To build a compiler one needs to implement the conversions from the raw source file all the way down to machine code and the language runtime library. We run various (micro)-benchmarks showing results in the range of 1% to 1200% speedups, but we are sticking to the aobench as it is very close to the game-dev workloads we are targeting.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Lightstorm

Lightstorm