News for hackers. Stuff that matters.
Re:My negative views on Rust (2021) (2023) by sfink on Friday October 11, 2024 @06:48PM (#41814633)
My "I'm gonna learn Rust!" initial project was porting a callgraph traversal tool from Python to Rust. For loading in my input file, the speedup was very disappointing: 1x. (As in, no speedup at all.)

Then I learned about the `--release` flag and it instantly became a 40x speedup. So that was nice.

Waiting 30s vs <1s puts it well within "anything requiring remotely decent speeds". But it was really about parsing a custom data format, nothing fancy. I haven't done comparison timings of the graph traversals, but everything is basically instantaneous in the Rust version and not in the Python.

There are no comments on this comment yet.