YARV
Encyclopedia
YARV 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).
Ruby on Rails
was reported to run about 15% faster with YARV compared to Ruby 1.8.6. However, startup time and ActiveRecord use are still slower.
Ruby creator Yukihiro Matsumoto
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.
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
- YARV home page Note: obsolete now that YARV is merged into Ruby
- YARV: Yet Another RubyVM ... on Rails? - Koichi Sasada's RubyConf 2006 presentation
- The Great Ruby Shootout (December 2008) - Ruby 1.9.1 (YARV) versus other Ruby VMs
- YARV in The Computer Language Benchmarks Game - Ruby 1.9.0(YARV) versus Ruby 1.8.6
- YARV in The Computer Language Benchmarks Game - Ruby 1.9.1 versus Ruby 1.8.7