News for hackers. Stuff that matters.
Re:Dr.Mario 64's gzip implementation is taken almost verbati... by duckerude on Monday October 19, 2020 @12:01PM (#24827606)
Does gzip actually use zlib? zlib's implementation (https://github.com/madler/zlib/blob/v1.1.3/inflate.c) looks different at first glance, gzip predates it by three years, and I believe gzip is also noticeably slower.
Re:Dr.Mario 64's gzip implementation is taken almost verbati... by masklinn on Monday October 19, 2020 @12:04PM (#24827656)
> Does gzip actually use zlib?

If you go and download gzip 1.2.4a (the version mentioned) and open it, the first two lines state:

    /* inflate.c -- Not copyrighted 1992 by Mark Adler
    version c10p1, 10 January 1993 */
Note that the file you link to is copyrighted (rather than not-copyrighted) 1995-1998. Now maybe saying that it's zlib's is inexact because zlib did not actually exist at the time, but that doesn't really make a difference, it's basically the code to what would eventually become zlib, by zlib's author, under a hyper-permissive license.
Re:Dr.Mario 64's gzip implementation is taken almost verbati... by duckerude on Monday October 19, 2020 @12:09PM (#24827701)
Saying it's zlib's did confuse me. But I think I understand now, thank you.