<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=YARV</id>
	<title>YARV - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=YARV"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=YARV&amp;action=history"/>
	<updated>2026-07-19T00:48:56Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=YARV&amp;diff=566195&amp;oldid=prev</id>
		<title>imported&gt;Taeas：​维护清理</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=YARV&amp;diff=566195&amp;oldid=prev"/>
		<updated>2023-08-01T13:05:41Z</updated>

		<summary type="html">&lt;p&gt;维护清理&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{NoteTA&lt;br /&gt;
|G1=IT&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox software&lt;br /&gt;
| name                   = YARV&lt;br /&gt;
| title                  = YARV&lt;br /&gt;
| logo                   = &amp;lt;!-- Image name is enough --&amp;gt;&lt;br /&gt;
| logo caption           = &lt;br /&gt;
| logo_size              = &lt;br /&gt;
| logo_alt               = &lt;br /&gt;
| screenshot             = &amp;lt;!-- Image name is enough --&amp;gt;&lt;br /&gt;
| caption                = &lt;br /&gt;
| screenshot_size        = &lt;br /&gt;
| screenshot_alt         = &lt;br /&gt;
| collapsible            = &lt;br /&gt;
| author                 = &lt;br /&gt;
| developer              = [[笹田耕一]]&lt;br /&gt;
| released               = &amp;lt;!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --&amp;gt;&lt;br /&gt;
| discontinued           = &lt;br /&gt;
| programming language   = [[C语言|C]]&amp;lt;ref name=&amp;quot;YARV-lang&amp;quot;&amp;gt;{{cite web|url=http://www.atdot.net/yarv/oopsla2005eabstract-rc1.pdf|title=YARV: Yet Another RubyVM|last=Sasada|first=Koichi|publisher=atdot.net|accessdate=2013-08-18|archive-date=2020-09-25|archive-url=https://web.archive.org/web/20200925200305/http://www.atdot.net/yarv/oopsla2005eabstract-rc1.pdf}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| operating system       = &lt;br /&gt;
| platform               = &lt;br /&gt;
| size                   = &lt;br /&gt;
| language               = &lt;br /&gt;
| language count         = &amp;lt;!-- DO NOT include this parameter unless you know what it does --&amp;gt;&lt;br /&gt;
| language footnote      = &lt;br /&gt;
| genre                  = Ruby[[虚拟机器]]&lt;br /&gt;
| license                = &lt;br /&gt;
| website                = {{URL|http://www.atdot.net/yarv/}}&lt;br /&gt;
| standard               = &lt;br /&gt;
| AsOf                   = &lt;br /&gt;
}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;YARV&amp;#039;&amp;#039;&amp;#039;是“[[Ruby]]程序语言”的一个[[字节码]]解译器，它是由[[笹田耕一]]领导的。YARV这个名称是“Yet another Ruby VM”（又一个Ruby虚拟机器）的首字母缩写。这个项目的目标是大幅度地减少Ruby程序的运行时间。&lt;br /&gt;
&lt;br /&gt;
在YARV成为Ruby 1.9的官方解译器后，人们也称它为KRI（Koichi&amp;#039;s Ruby Interpreter，Koichi的Ruby解译器）。&lt;br /&gt;
&lt;br /&gt;
== 性能 ==&lt;br /&gt;
由rubychan.de給出的評分，可以看到YARV有著大幅的性能提升。&amp;lt;ref&amp;gt;[http://www.rubychan.de/share/yarv_speedups.html Benchmarks: Ruby 1.8 and Ruby 1.9] {{Wayback|url=http://www.rubychan.de/share/yarv_speedups.html |date=20070105162940 }} (rubychan.de)&amp;lt;/ref&amp;gt; 而Antonio Cangiano 給出的評分顯示，平均起來YARV比原來的解譯器要快3倍。&amp;lt;ref&amp;gt;{{cite web | url=http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/ | title=The Great Ruby Shootout | date=2007-03-12 | last=Cangiano | first=Antonio | accessdate=2008-02-01 | archive-date=2012-02-23 | archive-url=https://www.webcitation.org/65etwmYdr?url=http://programmingzen.com/2007/12/03/the-great-ruby-shootout/ | dead-url=no }}&amp;lt;/ref&amp;gt; 兩個評分給出的都是綜合性的結果。&lt;br /&gt;
&lt;br /&gt;
據報導，在YARV上執行的Ruby on Rails 比在1.8.6上執行要快15%&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 |url         = http://eigenclass.org/hiki/non-synthetic-benchmarks-for-yarv&lt;br /&gt;
 |title       = Rails on 1.9: first benchmarks, YARV exposed to non-synthetic tests&lt;br /&gt;
 |quote       = &amp;#039;&amp;#039;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.&amp;#039;&amp;#039;&lt;br /&gt;
 |publisher   = eigenclass.org&lt;br /&gt;
 |date        = 2007-03-28&lt;br /&gt;
 |accessdate  = 2008-09-13&lt;br /&gt;
 |deadurl     = yes&lt;br /&gt;
 |archiveurl  = https://web.archive.org/web/20081218094241/http://eigenclass.org/hiki/non-synthetic-benchmarks-for-yarv&lt;br /&gt;
 |archivedate = 2008-12-18&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;。然而，啟動和ActiveRecord功能反而變慢了。&lt;br /&gt;
&lt;br /&gt;
== 歷史 ==&lt;br /&gt;
在2007年1月1日，YARV首次出現在Ruby下個版本的CVS庫之中。&amp;lt;ref name=SOG1&amp;gt;[http://blog.grayproductions.net/articles/the_ruby_vm_episode_i  The Ruby VM: Episode I] {{Webarchive|url=https://archive.today/20120526203024/http://blog.grayproductions.net/articles/the_ruby_vm_episode_i |date=2012-05-26 }} - &amp;#039;&amp;#039;Shades of Gray&amp;#039;&amp;#039;&amp;lt;/ref&amp;gt;&lt;br /&gt;
後来，Ruby的創造者[[松本行弘]]把YARV完全放入Ruby 1.9.0（於2007年12月26日發布）&amp;lt;ref name=&amp;quot;ruby191&amp;quot;&amp;gt;[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/284720 merge YARV] {{Wayback|url=http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/284720 |date=20120904001606 }} announcement by Koichi Sasada&amp;lt;/ref&amp;gt; 。從這個版本起，YARV成为了官方的Ruby解释器，取代原本由[[松本行弘]]製作的版本。&lt;br /&gt;
&lt;br /&gt;
== 另见 ==&lt;br /&gt;
* [[Parrot虚拟机]]&lt;br /&gt;
* [[Ruby]]&lt;br /&gt;
* [[Rubinius]]&lt;br /&gt;
&lt;br /&gt;
== 引用 ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== 外部链接 ==&lt;br /&gt;
* [http://www.atdot.net/yarv/ YARV home page] {{Wayback|url=http://www.atdot.net/yarv/ |date=20140925235753 }} Note: obsolete now that YARV is merged into Ruby&lt;br /&gt;
* [http://www.atdot.net/yarv/rc2006_sasada_yarv_on_rails.pdf YARV: Yet Another RubyVM ... on Rails?] {{Wayback|url=http://www.atdot.net/yarv/rc2006_sasada_yarv_on_rails.pdf |date=20211104220221 }} - Koichi Sasada&amp;#039;s RubyConf 2006 presentation&lt;br /&gt;
* [http://antoniocangiano.com/2008/12/09/the-great-ruby-shootout-december-2008/ The Great Ruby Shootout (December 2008)] {{Wayback|url=http://antoniocangiano.com/2008/12/09/the-great-ruby-shootout-december-2008/ |date=20081211005532 }} - Ruby 1.9.1 (YARV) versus other Ruby VMs&lt;br /&gt;
* [https://web.archive.org/web/20090218121038/http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&amp;amp;lang=yarv YARV in The Computer Language Benchmarks Game] - Ruby 1.9.0(YARV) versus Ruby 1.8.6&lt;br /&gt;
* [https://web.archive.org/web/20101204223835/http://shootout.alioth.debian.org/u32/benchmark.php?test=all&amp;amp;lang=yarv&amp;amp;lang2=ruby YARV in The Computer Language Benchmarks Game] - Ruby 1.9.1 versus Ruby 1.8.7&lt;br /&gt;
&lt;br /&gt;
{{Ruby编程语言}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Ruby]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Taeas</name></author>
	</entry>
</feed>