New version of TruffleRuby was released and imageruby-bmp is working now. So I’ve ran benchmark with it, but the results are much worse than MRI (26.5 - 28s)
% ruby --version
truffleruby 21.1.0, like ruby 2.7.2, GraalVM CE Native [x86_64-darwin]
I’ve only ran 1 iteration since it was so slow that I couldn’t wait until it finished 10 iterations.
% ruby ruby-raytracer-opt.rb
Completed in 978826.119 ms
So it’s more than 30x times slower than MRI.