News for hackers. Stuff that matters.
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.
Re:Rust – A hard decision pays off by vonseel on Wednesday August 24, 2022 @06:49PM (#32586875)
> 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.

Re:Rust – A hard decision pays off by HeyImAlex on Tuesday August 30, 2022 @09:57PM (#32657465)
Python (out of the box) will only complain about missing variables or methods at runtime.