Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bboozzoo
13 days ago
|
parent
|
context
|
favorite
| on:
Gzip decompression in 250 lines of Rust
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.
help
commandlinefan
13 days ago
|
next
[–]
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...
reply
carlos256
13 days ago
|
prev
[–]
Interesting, the decompressor in Jdeflate is around 4k LoC.
https://github.com/Jpn666/jdeflate
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: