1,775 karma · joined June 25, 2013
And Android uses Clang for its Linux kernel.
-fbounds-safety is not yet available in upstream Clang though:
> NOTE: This is a design document and the feature is not available for users yet.
IIRC zlib won't consider matches at offset 0: https://github.com/madler/zlib/blob/5a82f71ed1dfc0bec044d970...
This seems to have been fixed now.
Yes, you can just grab the zip files. For example like this: https://www.hanshq.net/command-line-android.html#sdk
Google's {First 10-digit Prime in Consecutive Digits of e}.com ad is a classic in this genre (https://www.hanshq.net/eprime.html)
> In 2022, there were 90 explosions and 101 cases of attempted bombings or preparations for bombings in Sweden, according to police data. As of 15 August this year, 109 explosions had been recorded.
Optimization work happens in forks like Intel's [2], Cloudflare's [3], and Chromium's [4], the latter of which also has a lot of added tests and fuzzers [5]. And there's zlib-ng [6] which tries to create a home for many of the improvements, but is at the same time yet another fork.
[0] https://github.com/madler/zlib/commits/develop
[1] https://github.com/madler/zlib/pull/525
[2] https://github.com/jtkukunas/zlib
[3] https://github.com/cloudflare/zlib
[4] https://source.chromium.org/chromium/chromium/src/+/main:thi...
[5] https://source.chromium.org/chromium/chromium/src/+/main:thi...
[6] https://github.com/zlib-ng/zlib-ng
(edit: line breaks)
Like you say, Deflate is based on LZ77, and I think it's not just for patent reasons but because it's a nice algorithm. More modern algorithms like LZMA is also LZ77 based.
I used the Möller & Granlund paper for a portable implementation of 2-by-1 division [1], and on my machine (which is admittedly not exactly new) it runs much faster than the DIV instruction.
Another reason, which I think is fair, is that with full articles in the RSS feed, the feed can quickly become a fairly large chunk of data.
.Z was used for compress(1), probably because pack(1) used .z, but where did that come from?
My best theory is that it's from Steve Zucker who wrote pack(1) at RAND. There were other versions of pack(1) too, but if his was the first, it seems possible that he choose the z extension for Zucker.
Does anyone have more info or other theories?
(Also it seems the version number changed from 11.0.0 to 11.0?)
It should still work with large files on systems where they can be memory mapped.