YARV: yet another RubyVM: innovating the ruby interpreter
暂无分享,去创建一个
Ruby - an Object-Oriented scripting language - is used world-wide because of its ease of use. However, the current interpreter is slow. To solve this problem, some virtual machines were developed, but none with adequate performance or functionality. To fill this gap, I have developed a Ruby interpreter called YARV (Yet Another Ruby VM). YARV is based on a stack machine architecture and features optimizations for high speed execution of Ruby programs. In this poster, I introduce the Ruby programming language, discuss certain characteristics of Ruby from the aspect of a Ruby interpreter implementer, and explain methods of implementation and optimization. Benchmark results are given at the end.
[1] M. Anton Ertl,et al. Stack caching for interpreters , 1995, PLDI '95.
[2] James R. Bell,et al. Threaded code , 1973, CACM.
[3] David Gregg,et al. Vmgen—a generator of efficient virtual machine interpreters , 2002, Softw. Pract. Exp..
[4] Dave Thomas,et al. Programming Ruby , 2004 .
[5] David Thomas,et al. Programming Ruby: the pragmatic programmer's guide , 2000 .