The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Building YARV 0.1.0

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Building YARV 0.1.0 Posted: Jan 12, 2005 10:12 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Building YARV 0.1.0
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Sasada Koichi just released his first proper version of his Ruby bytecode compiler and virtual machine, named YARV. While it’s all still very experimental code, you can execute small scripts and run the benchmarking suite. Certainly entertaining at least.

Building YARV requires a patch to current Ruby 1.9 code. You’ll need to check out from CVS, then patch and build Ruby.

 cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src co ruby
 cd ruby
 patch -l < ~/src/yarv-0.1.0/evalc.patch

 autoconf
 ./configure
 make
 make install

Make sure you use dash-lowercase-L as an option! The whitespace between CVS and the patch is ambiguous.

Now, go to your YARV directory, build the extension and run the benchmarks.

 ruby extconf.rb
 make
 make benchmark

I compiled on FreeBSD and it was necessary to use gmake above rather than make. The benchmarks take quite a while to run. If you’re impatient, you can get an inkling of the sort of speed YARV is seeing from the Cygwin benchmarks.

Read: Building YARV 0.1.0

Topic: Serializing To Ruby Code Previous Topic   Next Topic Topic: SoapBX: Presentations powered by S5, Textile, Rails

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use