5 ms·
Google Zürich also did Zopfli, a DEFLATE-compliant compressor that gets better ratios than gzip by taking longer to compress. Apparently Zopfli = small sweet b
by billyhoffman 3y ago
Google Zürich also did Zopfli, a DEFLATE-compliant compressor that gets better ratios than gzip by taking longer to compress.
Apparently Zopfli = small sweet breat
https://en.wikipedia.org/wiki/Zopfli https://en.wikipedia.org/wiki/Zopfli
- codetrotter 3y agoThey should do XZli next :D And write it in Rust
- JyrkiAlakuijala 3y agoBrotli:11 gets within 0.6 % of LZMA density but decodes 3–5x faster.
- codetrotter 3y agoYeah. But it seems to be most widely used in web browsers. I’ve never seen a .tar.br file, but I frequently download .tar.xz files. And therefore, a Rust implementation by Google of xz compression and decompression would be most welcome :)
- tialaramex 3y agoAll of the data transformation (codecs, compression etc.) libraries should be in WUFFS. That's exactly what it's for, and unlike the C++ this was written in, or indeed Rust, it's able to provide real compile time safety guarantees for the very affordable price of loss of generality (that is, you can't use WUFFS to write your video game, web browser, word processor, operating system or whatever) For example in C++ array[index] has Undefined Behaviour on a bounds miss. Rust's array[index] will panic at runtime on a bounds miss, at least we know what will happen but what happens isn't great... WUFFS array[index] will not compile if it could incur a bounds miss. Show the compiler why index will be a value that's always in-bounds when the index occurs.
- haneefmubarak 3y agoIt appears that XZ actually is in WUFFS! https://github.com/google/wuffs/tree/main/std/xz https://github.com/google/wuffs/tree/main/std/xz
- nigeltao 3y agoYeah, it's just a coincidence (†), but I started working on Wuffs' LZMA and XZ decoders last December. It works well enough to decode the Linux source code tarball correctly (producing the same output as /usr/bin/xz). $ git clone --quiet --depth=1 https://github.com/google/wuffs.git $ gcc -O3 wuffs/example/mzcat/mzcat.c -o my-mzcat $ ./my-mzcat < linux-6.8.2.tar.xz | sha256sum d53c712611ea6cb5acaf6627a84d5226692ae90ce41ee599fcc3203e7f8aa359 - $ /usr/bin/xz -d < linux-6.8.2.tar.xz | sha256sum d53c712611ea6cb5acaf6627a84d5226692ae90ce41ee599fcc3203e7f8aa359 - (†) Also, I'm not "Jia Tan"! You're just going to have to trust me on both of those claims. :-/
- kuschku 3y ago> Also, I'm not "Jia Tan"! You're just going to have to trust me on both of those claims. :-/ No need to trust – it's actually easily verified :) Your activity pattern (blue) is entirely different than jia tan's (orange): https://i.k8r.eu/vRRvVQ.png https://i.k8r.eu/vRRvVQ.png (Each day is a row, each column is an hour in UTC. A pixel is filled if a user made a commit, wrote a comment, etc during that hour)
- occamrazor 3y agoZopf means “braid” and it also denotes a medium-size bread type, made with some milk and glazed with yolk, shaped like a braid, traditionally eaten on Sunday.