I wonder if we could add/extend stumpy to get a bmp? Oh, they already have bmp: GitHub - stumpycr/stumpy_bmp . Last updated on Jun 15, 2019
, but hopefully it will work.
FYI.
I submitted the optimized Ruby version to the site today (Wed April 21, 2021) to replace the old version, and have been informed it’s been merged. So now you can get the optimized Ruby version from the website.
New version of TruffleRuby is able to run benchmark now, but is very slow compared to MRI (more that 30x slower). I have no idea why is that Ruby Raytracer in Crystal - #4 by vlazar - Ruby-Forum
Maybe raise issue to TruffleRuby to give them feedback.
From my experience, there are some things TruffleRuby can optimize very well, but others not. It still doesn’t do so well with Rails code either.
I haven’t looked yet, but what MRI version is it compatible with now?
Yeah, good idea. They should notice it as they take performance very seriously.
According to info TruffleRuby should be compatible with MRI 2.7.2
% ruby --version
truffleruby 21.1.0, like ruby 2.7.2, GraalVM CE Native [x86_64-darwin]
Opened an issue on TruffleRuby repo about poor performance Raytracer benchmark is 34x slower than with MRI · Issue #2336 · oracle/truffleruby · GitHub
FYI.
I submitted an updated Rust
version that was merged today (Mon April 26, 2021), and new timings were released.
And coming in at No. 5, in front of D
and Rust
…
@jzakiya TruffleRuby team found an issue with Ruby benchmark being very slow. It’s caused by the use of String to represent an image. If changed to Array the Ruby version would become 15% in MRI and TruffleRuby would be the fastest.
See Raytracer benchmark is 34x slower than with MRI · Issue #2336 · oracle/truffleruby · GitHub