⬆️ ⬇️

Ruby v8

Without hesitation, people launched Ruby on Javascript virtual machine from Google - V8. For this, we used the Ruby implementation on flash and javascript - HotRuby



write this:



== Benchmarks

')

sample/concat.rb (taken from hotruby.yukoba.jp/benchmark/bm_loop_times.html)

rbv8: 0.987 sec

Firefox 3: 3.636 sec

Safari 3: 4.368 sec

Opera 9.50: 4.679 sec

Ruby 1.8.6: 9.565 sec

Ruby 1.9.0: 9.669 sec

Rubinius 0.8.0: 15.576 sec

JRuby 1.1 b1: 42.691 sec




but in other way:



On the other hand, the other scripts in sample are super slow on rbv8...





View on github

Source: https://habr.com/ru/post/38876/



All Articles