4 ms·
Do you have any benchmark to back this assertion by any chance ? The only benchmark I know of is https://www.techempower.com/benchmarks/ https://www.techempowe
by dnpp123 7y ago
Do you have any benchmark to back this assertion by any chance ?
The only benchmark I know of is https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/ which is really poorly done but it's better than nothing. Rust seems to sometimes come first and C++ framework are close (and not by several margins).
- ploxiln 7y agoThe benchmarks leader "actix-web" was not really regular/typical rust, and conflict with the "community" caused it to implode. see https://github.com/actix/actix-web/ https://github.com/actix/actix-web/ and https://news.ycombinator.com/item?id=22075076 https://news.ycombinator.com/item?id=22075076
- tsimionescu 7y agoStill, the fastest C++ framework there is slower than than both the fastest Go-based fwk and the fastest Java-based one.
- dnpp123 7y agoYes this is why I said the benchmark is poorly written. It encourages frameworks to do such thing. Even if you look at the code of hyper for the benchmark, it does some ugly things not recommended in production. I'm not blaming actix/hyper's authors, I'm blaming the benchmark author encouraging (not voluntarily) such practice. However the benchmark is enough to see that C++ is not faster by several margins, hence my curiosity about benchmarks proving otherwise.