Compiling Ruby. Part 1: Compilers vs. Interpreters (opens in new tab)
With the (hopefully) convincing motivation out of the way, we can get to the technical details. Compiling Interpreter, Interpreting Compiler As mentioned in the motivation, I want to build an ahead-of-time compiler for Ruby. I want it to be compatible with the existing Ruby implementation to fit it naturally into the existing system. So the first question I had to answer is - how do I even do it? Compilers vs. Interpreters The execution model of compiled and interpreted languages is slightly ...
Read the original article