What is Ruby written in?

The reference Ruby implementation, MRI (Matz's Ruby Interpreter, also called CRuby), is written in C. Alternative implementations include JRuby (written in Java, runs on the JVM) and TruffleRuby (based on GraalVM, also Java-based).

Details

MRI/CRuby is the original and most widely used Ruby runtime, maintained by Yukihiro Matsumoto's team. Its interpreter and standard library are implemented in C.

JRuby is an alternative implementation that runs Ruby on the Java Virtual Machine. It's written in Java and provides interoperability with Java libraries.

The dataset records a runtime_written_in relationship from C to Ruby (MRI) and from Java to Ruby (JRuby).

Explore in the Graph

See implementation and influence relationships interactively.

Open Interactive Graph →

Related Pages