by Thaxll · 8y ago · 0 comments
https://www.techempower.com/benchmarks/#section=data-r15&hw=...
tbh benchmarks are not that useful, but it shows that GC languages are very fast in the web space and it's even more true when you add client -> server latency in the mix.
That said, actix is particularly new, with room to optimize.
Arenas and lifetimes work well together; the compiler actually has a hierarchy of arenas inside of it, and makes sure thanks to lifetimes that once the shorter-lived ones are freed, they don't get used again, for example.