5 ms·
zlib-ng: zlib replacement with optimizations for "next generation" systems
- stabbles 2y agoI can recommend building tar with pigz + zlib-ng enabled by default instead of gzip.
- deleted 2y ago[deleted]
- notanote 2y agoFedora made the switch in F40. Arch has it as a todo. https://fedoraproject.org/wiki/Changes/ZlibNGTransition https://fedoraproject.org/wiki/Changes/ZlibNGTransition https://archlinux.org/todo/zlib-ng-migration/ https://archlinux.org/todo/zlib-ng-migration/
- masklinn 2y agoThe just released git 2.49 also has experimental support for -ng.
- bravetraveler 2y agoSmall example of the user experience https://github.com/zlib-ng/zlib-ng/issues/1708 https://github.com/zlib-ng/zlib-ng/issues/1708
- ahepp 2y agoRust wouldn't prevent this would it? Since the root cause is a caller violating an invariant?
- cwillu 2y agoRust caused it. More charitably, unnecessary churn caused it.
- bravetraveler 2y ago100% churn, IMO. Language didn't matter at all. In the end, the failure was procedural. This lasted well into the next Fedora release. That means... this endured for at least six months. The reporter caught it in beta, but Fedora and 'zlib-ng' marched on. Not saved until Mono/Unity caught up. This didn't have to be hamfisted, but... t'was. Performance gains are make-believe when consumers don't work. Fedora should have waited for 41 after finding issues on 40. Distributions should do more to curate the software they distribute. This technical aspect was reported - and ignored - in the early stages during the 'sentiment gauging' phase on their own forum. Not just the 'zlib-ng' repository. https://discussion.fedoraproject.org/t/f40-change-proposal-transitioning-to-zlib-ng-as-a-compatible-replacement-for-zlib-system-wide/95807 https://discussion.fedoraproject.org/t/f40-change-proposal-t... It's more important to be seen changing things than doing it well, apparently. The proposal wasn't required to go as it did.
- ahepp 2y agowe can always blame it on closed source software!
- dochtman 2y agozlib-rs is faster than C: https://trifectatech.org/blog/zlib-rs-is-faster-than-c/ https://trifectatech.org/blog/zlib-rs-is-faster-than-c/
- lttlrck 2y agoA library is faster than a language? Awful headline.
- johnisgood 2y agoYeah, it was posted on HN and got ~337 points. https://news.ycombinator.com/item?id=43381735 https://news.ycombinator.com/item?id=43381735
- hu3 2y agoAdding Rust to the mix for marginal gains. Not sure there's value. I'd rather port the micro-optimizations done in zlib-rs to zlib-ng and call it a day.
- dogline 2y agoI thought all of the cool people were migrating to zstd. Is this not a thing anymore?
- lifthrasiir 2y agoDEFLATE will stay for a very long time due to its ubiquity for decades anyway.