YARV

This MedLibrary.org supplementary page on YARV is provided directly from the open source Wikipedia as a service to our readers. Please see the note below on authorship of this content, as well as the Wikipedia usage guidelines. To search for other content from our encyclopedia supplement, please use the form below:

YARV
Developed by Koichi Sasada
Type Ruby Virtual Machine
Website http://www.atdot.net/yarv/

YARV is a bytecode interpreter that was developed for the Ruby programming language by Koichi Sasada. The name is an acronym for Yet another Ruby VM. The goal of the project was to greatly reduce the execution time of Ruby programs.

Contents

Performance

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

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

History

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

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

See also

References

  1. ^ Benchmarks: Ruby 1.8 and Ruby 1.9 (rubychan.de)
  2. ^ Cangiano, Antonio (2007-03-12). "The Great Ruby Shootout". Retrieved on 2008-02-01.
  3. ^ "Rails on 1.9: first benchmarks, YARV exposed to non-synthetic tests". eigenclass.org (2007-03-28). Retrieved on 2008-09-13. "When benchmarking basic requests with a minimalistic schema (only one int column), even though YARV serviced requests 15% faster, it took much longer to load the environment (50% slower). This comes as no surprise since plain old (evil) eval is slower in YARV(...)In fact, the mere fact of requiring active_record (and indirectly ActiveSupport) causes a sharp decrease in performance."
  4. ^ The Ruby VM: Episode I - Shades of Gray
  5. ^ merge YARV announcement by Koichi Sasada

External links


Wikipedia content modification information:

  • This page was last modified on 24 October 2008, at 18:09.

Wikipedia Authorship and Review

Wikipedia content provided here is not reviewed directly by MedLibrary.org. Wikipedia content is authored by an open community of volunteers and is not produced by or in any way affiliated with MedLibrary.org.

Wikipedia Usage Guidelines

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article on "YARV".

The URL for this specific entry is:

All Wikipedia text is available under the terms of the GNU Free Documentation License. (See Copyrights for details). Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.