Prepare for the winners of **IOCCC28**. > However these are not the 2024 droids you are looking for. :-) The HTML menu (both JavaScript and non-JavaScript) has been updated. The `Status -> Rules and guidelines' have been replaced with two separate menus `Status -> IOCCC rules` and `Status -> IOCCC guidelines`. Added a new top level `social.html` page: built from a new `social.md`. Sorted rules for building specific web pages in the top level `Makefile`. Added `make social` to make the `social.html` page from `social.md`. The `bin/gen-top-html.sh` now is able to process a argument of **social** to process the new top level `social.html` page. Changed `bin/gen-top-html.sh` VERSION from "2.0.0 2025-03-13" to "2.0.1 2025-07-25". Below `About -> Home page` a new `About -> IOCCC social media` menu item as added. Because the menu change touched every HTML file, we changed the general copyright date range for HTML files from "1984-2024" to "1984-2025" due to the extensive changes made for **IOCCC28**. Those markdown files that were modified in 2025 had their copyright date range also changed from "1984-2024" to "1984-2025". Rebuilt tarballs and sitemap due to the extensive HTML rebuilding. Ran `make update` to perform the above.
To build:
make all
To use:
./rcm < file.gz
where file.gz is some gzipped file.
Try:
For more information try:
./try.sh
Judges' remarks:
For a good no-op try:
gzip -c < rcm.c | ./rcm
NOTE: this is done in the try.sh script as well, along with some other commands including a way to do the above command but with more steps.
Author's remarks:
Except for some silly requirements regarding input validation, CRC checking, and
similar unimportant fluff, this program is a fully compliant
RFC1951/RFC1952
GNU Gzip file uncompressor. Feed it a
gzip compressed file on standard input, and it will write the fully
uncompressed original file to standard output.
ObJustifications for this entry:
The Design Trade-off Argument:
"The 184 characters worth of defines in the build file have been
carefully offset by 184 redundant and unnecessary '{', '}', and ';'
characters in the source file."
The Design Review Argument:
"Using only 216 characters out of a maximum of 256, the build file meets and actually exceeds specification."
The Program Metrics Argument:
"The program source is less than 3,100 characters in length and uncompresses the
file
emacs-19.34b.tar.gz in
about 130 seconds on my HP 9000/735. The now obsolete source file inflate.c
from the GNU gzip source tree is 31,613 characters in length and uncompresses
the emacs distribution file in slightly under 25 seconds. Thus:
3100 / 130 = 23.85
vs:
31613 / 25 = 1264.52
which represents a better than 530% improvement in the ratio of source file size to execution time."
The Whining Programmer's Argument:
"The inflate algorithm requires that over 400 characters worth of constants and tables be defined. Which means the program itself had to be squeezed down to about 1,100 IOCCC countable bytes."