YARV

YARV
Developer(s) Koichi Sasada
Written in C[1]
Type Ruby Virtual Machine
Website www.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

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.

History

On January 1, 2007, YARV was merged into the Ruby Subversion repository.[4]

Ruby creator Yukihiro Matsumoto fully merged YARV into Ruby 1.9.0 which was released on December 26, 2007.[5] From this time, YARV became the official Ruby interpreter, replacing the one developed by Matsumoto.

See also

References

  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".
This article is issued from Wikipedia - version of the 7/16/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.