Ruby is one of the slowest languages you can think of, while Javascript on V8 is only 2.3X slower than C++ (median).
http://shootout.alioth.debian.org/u32/which-programs-are-fas...
What I'm really surprised is that they got such a huge gain. Most projects I've worked on are DB or I/O bound. Maybe they store everything in RAM.