News for hackers. Stuff that matters.
Re:Ask HN: No BS, which is actually faster C++ or Rust? by thomashabets2 on Sunday May 26, 2024 @02:53AM (#40480219)
In theory Rust should be faster because lack of aliasing. But that boils down to "a sufficiently smart compiler", which is a fallacy.

The only time I compared like for like, Rust was faster: https://blog.habets.se/2024/04/Rust-is-faster-than-C.html

But that's a data point, not a proof.

There are no comments on this comment yet.