3 ms·
There was a test with the 1BRC and it was shown that Rust was faster than Assembly (and likely C as well), meaning, a compiler will probably do a better job tha
by ladyanita22 2y ago
There was a test with the 1BRC and it was shown that Rust was faster than Assembly (and likely C as well), meaning, a compiler will probably do a better job than a human optimizing code. How sure can someone be that this is indeed performant?
- wmf 2y agoOS performance comes from algorithms and data structures not from compiler optimizations.
- notorandit 2y agoOs performance depends upon the overhead imposed over workloads. Being that a compilation, a computation or a communication task is a different topic.
- ladyanita22 2y agoExactly, and that is a thing for every single piece of software ever written. Doesn't make a difference whether it's an OS or not.