InfraRuby 4.1 released

Get the latest InfraRuby compiler and runtime for statically typed Ruby on the JVM!

To install the InfraRuby development packages, type in a privileged shell:

gem install infraruby-dev

The compiler requires annotations for field types and method signatures, and supports blocks, mixins, primitive types with autoboxing, generic types with bounded wildcards and type argument inference, and local type inference with autocasting.

The InfraRuby compiler is implemented in the InfraRuby language and uses JRuby to bootstrap: the compiler source is compiled to bytecode using the compiler itself under JRuby. For comparison, the compiler source is compiled again using the compiled compiler.

This chart shows, for each runtime, the time to compile the compiler source to bytecode: