Ruby might be faster than you think - John Hawthorn
26-Apr-2024 798
Now it’s Ruby that’s 5 times faster than Crystal!!! And 20x faster than our original version. Though most likely that’s some cost from the FFI, or something similar, though that does seem like a surprising amount of overhead.I thought it was notable that by making some minor tweaks to Ruby code it can now outperform a precompiled statically typed language in a purpose-built example of when it is slow. I’m hopeful that someday with future advancements in the Ruby JIT even the small tweaks might not be necessary.
Ruby might be faster than you think - John Hawthorn #ruby #rubydeveloper #rubyonrails #might #faster #think #Hawthorn https://rubyonrails.ba/link/ruby-might-be-faster-than-you-think-john-hawthorn