Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bboozzoo
· 8mo ago · 0 comments
You forgot to include
https://github.com/9front/9front/tree/front/sys/src/libflate
which gzip is built around, which brings it closer to 10k lines.
Comments
[–]
commandlinefan
8mo ago
I wrote a standalone gzip decompressor in about 500 lines of code (including comments, with braces on the next line), with no dependencies at all:
https://commandlinefanatic.com/cgi-bin/showarticle.cgi?artic...
[–]
carlos256
8mo ago
Interesting, the decompressor in Jdeflate is around 4k LoC.
https://github.com/Jpn666/jdeflate