Re:How to Fix Slow Code in Ruby
by b2gills on Monday May 18, 2020 @09:05PM
(#23230246)
While Raku is generally slower than other languages, there are times when it is is faster than those same languages.
There was even one report of it being faster than C/C++.
(My guess is that the C/C++ code was doing a lot of string copies and/or scanning for a null terminator. The MoarVM backend doesn't generally do either of those things.)
There was even one report of it being faster than C/C++.
(My guess is that the C/C++ code was doing a lot of string copies and/or scanning for a null terminator. The MoarVM backend doesn't generally do either of those things.)