Skip to content

Add tutorial: Build Your Own Compression Algorithm (C/C++)#891

Closed
shaongitbd wants to merge 1 commit into
practical-tutorials:masterfrom
shaongitbd:add-compression-cpp
Closed

Add tutorial: Build Your Own Compression Algorithm (C/C++)#891
shaongitbd wants to merge 1 commit into
practical-tutorials:masterfrom
shaongitbd:add-compression-cpp

Conversation

@shaongitbd

Copy link
Copy Markdown

Adds Build Your Own Compression Algorithm under C/C++.

A free, interactive course where you implement compression from scratch — run-length encoding, Huffman and canonical Huffman coding, LZ77, and a DEFLATE-style encoder — writing the code and checking it against tests (CRC-32, known vectors, etc.).

No compression tutorial exists in the list yet, so this fills a gap. Placed under C/C++ and formatted per CONTRIBUTING.md.

@tuvtran

tuvtran commented Jul 4, 2026

Copy link
Copy Markdown
Member

Thanks for the suggestion — a build-your-own-compression tutorial would genuinely fill a gap in the list. Unfortunately this link points to a course platform that requires account signup and sits behind a freemium/paid plan, and this list only accepts tutorials whose full content is freely and openly accessible. If you know of an openly readable compression tutorial (blog series, docs, or video), we'd be glad to see a new PR.

@shaongitbd

Copy link
Copy Markdown
Author

Thanks for looking this over!

One clarification, as I think the access model was misread: shipthatcode courses are open to guests — no signup or login is required to read and work through the full content. The "Get started free" button is an optional account (for saving progress); you can open any lesson directly and the entire tutorial loads immediately as a guest, with no account and no freemium tier gating the material.

For this compression course, the full walkthrough is freely readable without an account — run-length encoding, Huffman and canonical Huffman coding, LZ77, and a DEFLATE-style encoder.

Happy to share a direct lesson link so you can verify there's no login wall. Given that, I believe it fits the "freely and openly accessible" bar — would you reconsider?

Thanks again for maintaining the list!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants