Hacker News new | ask | show | jobs
by the_new_guy_29 2954 days ago
"decreased the execution time by a factor of 3"

So article is about a flew in previous versions of Rust not supporting 128-bit numbers on x86_64. But title makes it sound like "switching to Rust was the breakthrough". Or am i paranoid about it..

4 comments

> But title makes it sound like "switching to Rust was the breakthrough". Or am i paranoid about it..

Since titles keep changing on HN (for good reasons), I can’t be sure you saw the same title that I did, but if you did I disagree.

The current title is “How Rust 1.26 more than tripled the speed of my code”.

Because that title specifies a specific version number, I expected the blog post to be about exactly the kind of thing it was; some new feature or improvement in that version of Rust which would make their software run faster compared to the previous version of Rust they were using.

They probably wouldn't have mentioned the specific version if they were talking about switching languages instead of switching compiler versions.
The original title is the more precise "How a Rust upgrade more than tripled the speed of my code". Also I think mentioning the version made it clear that it's about a specific version, not about rust in general.
Maybe they should change it to: "How an upgrade to Rust 1.26 more than tripled the speed of my code"
I'd say its more about how LLVM outperformed their previously handwritten assembly (the latter was impeded by crud from the asm! macro).
That would have done nothing, if Rust didn't stabilize u128/i128.