YARV
Encyclopedia
YARV is a bytecode
Bytecode
Bytecode, also known as p-code , is a term which has been used to denote various forms of instruction sets designed for efficient execution by a software interpreter as well as being suitable for further compilation into machine code...

 interpreter
Interpreter (computing)
In computer science, an interpreter normally means a computer program that executes, i.e. performs, instructions written in a programming language...

 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).

Performance

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

Ruby on Rails
Ruby on Rails
Ruby on Rails, often shortened to Rails or RoR, is an open source web application framework for the Ruby programming language.-History:...

 was reported to run about 15% faster with YARV compared to Ruby 1.8.6. However, startup time and ActiveRecord use are still slower.

History

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

Ruby creator Yukihiro Matsumoto
Yukihiro Matsumoto
is a Japanese computer scientist and software programmer best known as the chief designer of the Ruby programming language and its reference implementation, Matz's Ruby Interpreter ....

fully merged YARV into Ruby 1.9.0 which was released December 26, 2007. From this point onwards YARV became the official Ruby interpreter, replacing the one developed by Matsumoto.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK