> little do they know Ruby is a slower language than Go
Isn't it generally expected for a feature-packed interpreted language to be slower than a minimal compiled language?
Isn't it generally expected for a feature-packed interpreted language to be slower than a minimal compiled language?
It used to be in PHP that every array element took 96 bytes (!!!) of booking overhead. That was/is why PHP is slow. That was reduced and performance basically quadrupled for PHP 7.4.
EDIT: sorry just wanted to add I'm being a bit hyperbolic. These languages are fast enough for their use cases, both PHP and Ruby. But compared to even something like C#, this is where the performance gap comes from, despite both being garbage collected.