3 ms·
The Ruby interpreter compiles to bytecode, which is then passed to the VM, which isn’t that far off from classical Java. JRuby also seems to support ahead-of-ti
by philwelch 9y ago
The Ruby interpreter compiles to bytecode, which is then passed to the VM, which isn’t that far off from classical Java. JRuby also seems to support ahead-of-time compilation.
In any case, the fact that a single Ruby source file can be incrementally loaded into the runtime despite altering classes and modules defined elsewhere supports, rather than detracts, from the author’s notion of a “compilation unit”. Python, in contrast, tightly couples code files (“compilation units”) with modules.