4 ms·
Small example to show that performance can be great: Phoenix (the Rails-comparable web framework for Elixir) defaults to listing microseconds instead of millise
by heeton 2y ago
Small example to show that performance can be great: Phoenix (the Rails-comparable web framework for Elixir) defaults to listing microseconds instead of milliseconds for response times.
- prerok 2y agoHmm, is rails really comparable to anything that's precompiled (genuine question, I don't mean this dismissively). What I really meant was, as a backend engineer, I frequently deal with optimizations on too many object allocations and long running/too frequent GC cycles even without immutability built into the language. On the Rust front, the problem is in small memory allocations, fragmented memory and then more calls to kernel to alloc.
- samatman 2y agoRuby/Rails and Elixir/Phoenix both run on a garbage-collected virtual machine. I think that makes the comparison fair.