From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Koichi Sasada
Written inC[1]
TypeRuby Virtual Machine

YARV (Yet another Ruby VM) is a bytecode interpreter that was developed for the Ruby programming language by Koichi Sasada. The goal of the project was to greatly reduce the execution time of Ruby programs.

Since YARV has become the official Ruby interpreter for Ruby 1.9, it is also named KRI (Koichi's Ruby Interpreter), in the same vein as the original Ruby MRI, named for Ruby's creator Yukihiro Matsumoto.


Benchmarks by rubychan.de showed significant increases in performance.[2] Benchmarks by Antonio Cangiano showed an average four times speed improvement over the original interpreter.[3] Both evaluations comprised a mix of mostly synthetic benchmarks.


YARV was merged into the Ruby Subversion repository on January 1, 2007.[4] It was released as part of Ruby 1.9.0 on December 26, 2007,[5] replacing Ruby MRI.

See also[edit]


  1. ^ Sasada, Koichi. "YARV: Yet Another RubyVM" (PDF). atdot.net. Retrieved 2013-08-18.
  2. ^ "Benchmarks: Ruby 1.8 and Ruby 1.9". rubychan.de.
  3. ^ Cangiano, Antonio (2007-03-12). "The Great Ruby Shootout". Retrieved 2008-02-01.
  4. ^ "The Ruby VM: Episode I". Archived from the original on May 26, 2012. - Shades of Gray
  5. ^ "merge YARV announcement by Koichi Sasada".

External links[edit]