HNHacker News
TopNewBestAskShowJobs

stgn

63 karma · joined September 22, 2016

submissionscomments
stgn··on Gzip decompression in 250 lines of Rust
> 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...

stgn··on A new PNG spec
> 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.

stgn··on Mitmproxy 8
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?