News for hackers. Stuff that matters.

stgn

Re:Gzip decompression in 250 lines of Rust on Friday March 27, 2026 @11:39AM (#47544096)
> so i wrote a gzip decompressor from scratch

After skimming through the author's Rust code, it appears to be a fairly straightforward port of puff.c (included in the zlib source): https://github.com/madler/zlib/blob/develop/contrib/puff/puf...

Re:PNG Is Back on Thursday June 26, 2025 @03:53PM (#44390664)
> and it's too bad that JPEG-XL lacks such a filter

JPEG XL has an edge-preserving filter ("EPF") for the purpose of reducing ringing.

Re:Mitmproxy 8 on Sunday March 20, 2022 @12:18PM (#30743954)
One of the things I like about mitmproxy is how easy it is to develop and use addons. You just pass a script file to it. How would you achieve such painless extensibility if it were written in Go?