3 ms·
Here is an example of Rust implementation being faster than C. https://trifectatech.org/blog/zlib-rs-is-faster-than-c/ https://trifectatech.org/blog/zlib-rs-is
by om8 1y ago
Here is an example of Rust implementation being faster than C.
https://trifectatech.org/blog/zlib-rs-is-faster-than-c/ https://trifectatech.org/blog/zlib-rs-is-faster-than-c/
- Night_Thastus 1y agoDiscussions on HN of that post at the time more or less debunked the title's claim, from what I recall.
- pdimitar 1y agoYeah that was the one. I too left it unconvinced that Rust can get measurably faster than C, for what it's worth. But as said in another comment, even being 1-2% around the same ballpark is a huge win already and it would be enough for me.
- throwaway2037 1y agoHat tip! Here is the original HN discussion: https://news.ycombinator.com/item?id=43381512 https://news.ycombinator.com/item?id=43381512 Another thing about that library, like so many "Rust wins" that we are seeing: There is loads of unsafe code.