Trending storyDeveloping
Roc DEFLATE library roc-deflate comes within 8.9% of C's libdeflate
1 report1 sourceupdated 4 hours ago
What happened
AI digest
On October 24, Hacker News featured a performance comparison between roc-deflate, a DEFLATE compression library written in Roc, and the C library libdeflate. On the Silesia corpus benchmark, roc-deflate was slower overall: a median 8.9% slower on a Ryzen 3900X and 2.6% slower on an M1 MacBook Pro. Results varied by input, with the worst case 18% slower and the best case 18% faster.
Written by AI from the coverage · updated 1 hour ago
Coverage
Follow the reports to see the story from different sides.
Oct 24
- Hacker News front pageHow close can pure functional programming get to C?
用 Roc 语言实现的 DEFLATE 压缩库 roc-deflate 在 Silesia 语料库基准测试中,平均比 C 语言库 libdeflate 慢,Ryzen 3900X 上中位数慢 8.9%,M1 MacBook Pro 上慢 2.6%,最差输入慢 18%,但最佳输入反快 18%。
Heat over time
Not enough continuous observations to draw a trend yet.