3 ms·
I'm one of those people that fell in love with Ruby, and yeah the speed is the biggest downside. That said, a lot of the bulk is often Rails. I usually use Si
by freedomben 5y ago
I'm one of those people that fell in love with Ruby, and yeah the speed is the biggest downside. That said, a lot of the bulk is often Rails. I usually use Sinatra now and it's pretty light. On the smallest VM it usually starts quickly and runs fine for quite a while. One even survived an HN Hug. There are also some big improvements coming with Ruby 3 (if you aren't already upgraded to that) and more to come. But you definitely "pay" a fee in CPU/memory for the privilege of using Ruby. In most cases, it's way worth it IMHO. I've also been loving Elixir lately. It's got much the same feeling of beauty that Ruby does, and it's much lighter and lightning fast. I often measure response times in microseconds rather than milliseconds!