HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ieviev
mini-gzip
Rust2026–2026
ieviev / mini-gzip

mini-gzip

Discover this repository through its Hacker News conversations.

2Distinct people
2Mentions
0Explicit recommenders
33GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A public description has not been verified.

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2026-03-27 16:33:08 UTC to 2026-03-28 01:13:52 UTC.

012026-03-27 16:00:00 UTC to 2026-03-27 17:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 27, 16:002026-03-27 17:00:00 UTC to 2026-03-27 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-27 18:00:00 UTC to 2026-03-27 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-27 19:00:00 UTC to 2026-03-27 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-27 20:00:00 UTC to 2026-03-27 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 27, 20:002026-03-27 21:00:00 UTC to 2026-03-27 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-27 22:00:00 UTC to 2026-03-27 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-27 23:00:00 UTC to 2026-03-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-28 00:00:00 UTC to 2026-03-28 01:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-28 01:00:00 UTC to 2026-03-28 02:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 28, 01:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 27, 16:002026-03-27 16:00:00 UTC2026-03-27 17:00:00 UTC101
Mar 27, 17:002026-03-27 17:00:00 UTC2026-03-27 18:00:00 UTC000
Mar 27, 18:002026-03-27 18:00:00 UTC2026-03-27 19:00:00 UTC000
Mar 27, 19:002026-03-27 19:00:00 UTC2026-03-27 20:00:00 UTC000
Mar 27, 20:002026-03-27 20:00:00 UTC2026-03-27 21:00:00 UTC000
Mar 27, 21:002026-03-27 21:00:00 UTC2026-03-27 22:00:00 UTC000
Mar 27, 22:002026-03-27 22:00:00 UTC2026-03-27 23:00:00 UTC000
Mar 27, 23:002026-03-27 23:00:00 UTC2026-03-28 00:00:00 UTC000
Mar 28, 00:002026-03-28 00:00:00 UTC2026-03-28 01:00:00 UTC000
Mar 28, 01:002026-03-28 01:00:00 UTC2026-03-28 02:00:00 UTC101

What Hacker News says

2 sources
Original zlib code: https://github.com/madler/zlib/blob/develop/contrib/puff/puf... The code of the article: https://github.com/ieviev/mini-gzip/blob/main/src/main.rs Top level declarations of the C code: #define MAXBITS 15 #define MAXLCODES 286 #define MAXDCODES 30 #define MAXCODES #define FIXLCODES 288 struct state local int bits(struct state *s, int need) local int stored(struct state *s) struct huffman local int decode(...) local int construct(...) local int codes(...) local int fixed(...) local int dynamic(...) int puff(...) Top level declarations of the Rust code: const MAXBITS: usize = 15; const MAXLCODES: usize = 286; const MAXDCODES: usize = 30; const FIXLCODES: usize = 288; const MAXDIST: usize = 32768; struct State<'a> struct Huff
Read the rest
man<'a> fn decode fn construct fn codes fn fixed fn dynamic fn stored pub fn inflate
In Gzip decompression in 250 lines of Rust
Hehe, why "probably"? It says "250 lines" right there in the subject. Surely one can skim the single file of code (https://github.com/ieviev/mini-gzip/blob/main/src/main.rs) and offer criticism that isn't based on hypotheticals? Anyway, I skimmed the file for you this time, and basically you're either correct or wrong, depending on your definition of "error checking." The code handles error conditions by aborting the process. Seeing as it's a standalone CLI program and not a library meant for reuse, safely shutting down with a meaningful message sounds like fair game to me.
In Gzip decompression in 250 lines of Rust

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.