3 ms·
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.
by faangguyindia 5mo 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 5mo agoSpeed 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 5mo agoI use Go for the same reason, but it seems php can use even less memory.
- latexr 5mo agoWhy 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 5mo agoI think they are jesting: https://news.ycombinator.com/item?id=48245262#48246312 https://news.ycombinator.com/item?id=48245262#48246312