Rust: The Dangers of Early Performance Optimization
Michael Mullin
0:00 / 0:00
Rust: The Dangers of Early Performance Optimization
7 042 просмотра · 4 года назад
Michael Mullin
3,14 тыс. подписчиков
7 042 просмотра · 4 года назад
In this video I "reply" to Vagelis Prokopious's video comparing a highly optimized Vert.x web server vs a non-optimized actix-web web server.
I optimize the actix-web to restore the honour of Rust. But did I waste my time? Isn't the "real" bottleneck in the network rather than the choice of programming language?
NOTE: My discussion about how Serde Json works is theoretical. I have not deeply inspected the code and there are probably many optimizations done in Serde_Json.
Vagelis Video: • Web api benchmarking: Java (Vert.x) vs Rus...
Original Code: https://github.com/Vagelis-Prokopiou/...
Optimized Version: https://github.com/masmullin2000/yt-w...
Hetzner: https://www.hetzner.com/