Software:YARV
Developer(s) | Koichi Sasada |
---|---|
Stable release | [1]
/ Error: first parameter is missing. |
Repository | github |
Written in | C[2] |
Operating system | Cross-platform |
Predecessor | Ruby MRI |
Type | Ruby Virtual Machine |
License | Ruby License |
Website | www |
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 in honor of Ruby's creator Yukihiro Matsumoto.
Performance
Benchmarks by rubychan.de showed significant increases in performance.[3] Benchmarks by Antonio Cangiano showed speed improvements over other Ruby VMs, with 1.9 on average four times faster than the original interpreter.[4][5] All evaluations comprised a mix of mostly synthetic benchmarks.
History
YARV was merged into the Ruby Subversion repository on January 1, 2007.[6] It was released as part of Ruby 1.9.0 on December 26, 2007,[7] replacing Ruby MRI.
See also
References
- ↑ ""Ruby 3.2.1 Released"". https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/.
- ↑ Sasada, Koichi (16 October 2005). YARV: yet another RubyVM. p. 158. doi:10.1145/1094855.1094912. http://www.atdot.net/yarv/oopsla2005eabstract-rc1.pdf.
- ↑ "Benchmarks: Ruby 1.8 and Ruby 1.9". rubychan.de. http://rubychan.de/share/yarv_speedups.html.
- ↑ Cangiano, Antonio (2007-12-16). "The Great Ruby Shootout". http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/. November 2007 tests
- ↑ Cangiano, Antonio (2009-02-07). "The Great Ruby Shootout (December 2008)". http://antoniocangiano.com/2008/12/09/the-great-ruby-shootout-december-2008/.
- ↑ "The Ruby VM: Episode I". 16 February 2007. http://graysoftinc.com/the-ruby-vm-interview/the-ruby-vm-episode-i.
- ↑ "merge YARV announcement by Koichi Sasada". http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/284720.
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