3 ms·
Won’t rust continue to get faster? And does it matter much given the speed of hardware these days, I mean O(n) will still be the same.
by andy_ppp 6y ago
Won’t rust continue to get faster? And does it matter much given the speed of hardware these days, I mean O(n) will still be the same.
- deleted 6y ago[deleted]
- kzrdude 6y agoWhy shouldn't C++ continue to get faster, too?
- ncmncm 6y agoIn principle, Rust could get faster if optimizers took advantage of latitude enabled by stronger semantic guarantees. In practice, turning on such optimizations introduces debilitating bugs, because the optimizations are poorly exercised by other languages, and Rust core developers are fully occupied with other problems. O(n) is the starting point of optimization. Improvement by factors of two or ten are commonplace, relying on details of how modern machines are implemented, and often lately by farming work out to multiple cores or to GPU cores. Speed of the code is getting increasingly important as memory and storage sizes grow while clock speed stubbornly does not. Until Dennard scaling died, code got faster just by waiting. Now, making code faster takes work.