←back to thread

Zlib-rs is faster than C

(trifectatech.org)
341 points dochtman | 1 comments | | HN request time: 0.219s | source
Show context
johnisgood ◴[] No.43381735[source]
"faster than C" almost always boils down to different designs, implementations, algorithms, etc.

Perhaps it is faster than already-existing implementations, sure, but not "faster than C", and it is odd to make such claims.

replies(10): >>43381810 #>>43381813 #>>43381820 #>>43381959 #>>43382108 #>>43382124 #>>43382267 #>>43385171 #>>43386202 #>>43392542 #
layer8 ◴[] No.43382267[source]
If anything, this should be “zlib-rs is faster than zlib-ng”, but not “$library is faster than $programming_language”.
replies(1): >>43382768 #
chjj[dead post] ◴[] No.43382768[source]
[flagged]
1. brooke2k ◴[] No.43388567[source]
the point of saying "faster than C" isn't to make it a competition, it's to demonstrate that Rust is capable of hitting performance goals that previously one needed to use C/C++ for.