YARV

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
YARV
Developer(s)Koichi Sasada
Written inC[1]
TypeRuby Virtual Machine
Websitewww.ruby-lang.org

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.

Performance[edit]

Benchmarks by rubychan.de showed significant increases in performance.[2] Benchmarks by Antonio Cangiano showed speed improvements over other Ruby VMs, with 1.9 on average four times faster than the original interpreter.[3][4] All evaluations comprised a mix of mostly synthetic benchmarks.

History[edit]

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

See also[edit]

References[edit]

  1. ^ Sasada, Koichi (16 October 2005). "YARV: yet another RubyVM" (PDF). ACM, SPLASH Conference Proceedings, OOPSLA '05: 158. doi:10.1145/1094855.1094912.
  2. ^ "Benchmarks: Ruby 1.8 and Ruby 1.9". rubychan.de.
  3. ^ Cangiano, Antonio (2007-12-16). "The Great Ruby Shootout". November 2007 tests
  4. ^ Cangiano, Antonio (2009-02-07). "The Great Ruby Shootout (December 2008)".
  5. ^ Yukihiro Matsumoto; Koichi Sasada (16 February 2007). "The Ruby VM: Episode I". Gray Productions. Archived from the original on May 26, 2012.
  6. ^ "merge YARV announcement by Koichi Sasada".

External links[edit]