3 ms·
That's fair criticism. I was writing this under the pretense that you get the basics right and don't have needless garbage between you and CPU execution. There
by DarkNova6 3y ago
That's fair criticism. I was writing this under the pretense that you get the basics right and don't have needless garbage between you and CPU execution.
There's also the fact that Rust tends to draw those who are already proficient with computational knowledge. Whereas the typical Python programmer is just a poor dud that never had any formal education in accessing computer resources.
- fifilura 3y agoSo if i loop back to the original message "Written in Rust", what they mean to convey is that "this is done by smart people" ;)
- DarkNova6 3y agoYou jest, but if we are talking average it would not be hyperbole. But what I want to add to my last point: Most performance pitfalls I have seen are not due to choosing wrong algorithms, but bad implementations driven by messy implementation and low maintainability. Python and JS are absolutely among the worst of the bunch and weak dynamic typing is a terrible burden to maintain and scale. Mind you, it depends on which domain we are talking about. If you are working close to the metal and you are using something like PyTorch, your performance is indeed determined by choosing the right algorithms and language overhead is less significant in comparison. But most software is just moving things around in memory and do a little networking.