Re:Rust – A hard decision pays off
by HeyImAlex on Wednesday August 24, 2022 @02:25PM
(#32583680)
I had the same experience with go, 100x performance improvements on data crunching scripts with roughly the same code. Worst part of writing it in python was simple misspellings in the last stages of the computation breaking things.
[ Parent
| on HN ]
> Worst part of writing it in python was simple misspellings in the last stages of the computation breaking things.
I'm not sure I understand. Was the typo in something like a dict key? Or did you add two of the wrong variables together? How did another language protect you from this? I fail to see how you couldn't also add two of the wrong variables (with the correct type) together in a different language.