Reasons for speedup?
Reasons for speedup?
Posted Feb 25, 2025 20:10 UTC (Tue) by Cyberax (✭ supporter ✭, #52523)In reply to: Reasons for speedup? by NYKevin
Parent article: Rewriting essential Linux packages in Rust
> But there's one straightforward answer that applies to nearly any rewrite-it-in-Rust project: Rust is really, really good at emitting noalias to the IR layer, whereas C is only mediocre at it
Case in point: https://trifectatech.org/blog/zlib-rs-is-faster-than-c/ - zlib port into Rust is outperforming C.
