Remix.run Logo
faangguyindia 3 hours ago

People think Ruby is slower than Rust, they'll be surprised to know Ruby is actually now faster than python but slower than Go or Rust.

Gigachad 2 hours ago | parent | next [-]

Speed has usually mattered less to me than memory usage. Most Ruby applications are speed limited by the database rather than Ruby. But when you have a bunch of background workers, every one chewing 2+ gb of memory stacks up.

I wrote one production Rust service and more impressive than the speed was that the thing ran on 30MB memory.

faangguyindia an hour ago | parent [-]

I use Go for the same reason, but it seems php can use even less memory.

latexr 2 hours ago | parent | prev [-]

Why would someone who thinks Ruby is slower than Rust (which apparently includes you) be surprised it’s faster than Python? Why does one thing have to do with the other?

jasdfasd8 an hour ago | parent [-]

I think they are jesting: https://news.ycombinator.com/item?id=48245262#48246312