• Lighten up today...

    From The Natural Philosopher@21:1/5 to All on Sat Aug 9 20:42:23 2025
    The winner of the C obfuscated code is announced

    https://www.theregister.com/2025/08/09/ioccc_2024/

    --
    “when things get difficult you just have to lie”

    ― Jean Claud Jüncker

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to [email protected] on Sat Aug 9 23:17:52 2025
    In comp.os.linux.misc, The Natural Philosopher <[email protected]d> wrote:
    The winner of the C obfuscated code is announced

    https://www.theregister.com/2025/08/09/ioccc_2024/

    $ git clone https://github.com/ioccc-src/winner ioccc-winners
    Cloning into 'ioccc-winners'...
    remote: Enumerating objects: 160930, done.
    remote: Counting objects: 100% (83/83), done.
    remote: Compressing objects: 100% (73/73), done.
    Receiving objects: 10% (16968/160930), 378.74 MiB | 8.08 MiB/s

    That's a big repo for a few small bits of code. Finished size is north
    of two gigs.

    Elijah
    ------
    playing with winners now

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Eli the Bearded on Sun Aug 10 01:54:46 2025
    On Sat, 9 Aug 2025 23:17:52 -0000 (UTC), Eli the Bearded wrote:

    That's a big repo for a few small bits of code. Finished size is north
    of two gigs.

    ldo@theon:hack> du -ks ioccc-winners/.git ioccc-winners/
    1848624 ioccc-winners/.git
    407636 ioccc-winners/

    Nearly two gigs of past history, only 400-odd MB of current source.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to [email protected] on Sun Aug 10 07:25:44 2025
    In comp.os.linux.misc, Lawrence D'Oliveiro <[email protected]d> wrote:
    On Sat, 9 Aug 2025 23:17:52 -0000 (UTC), Eli the Bearded wrote:
    That's a big repo for a few small bits of code. Finished size is north
    of two gigs.
    ldo@theon:hack> du -ks ioccc-winners/.git ioccc-winners/
    1848624 ioccc-winners/.git
    407636 ioccc-winners/
    Nearly two gigs of past history, only 400-odd MB of current source.

    "source" is doing a lot of work there.

    $ find ioccc-winners -type f -name \*.[ch] -exec cat {} + |wc
    96649 366057 2873772

    That's under 3 MB of source code. Add in makefiles and it's still under
    five. The makefiles have a lot of comments and boilerplate, but a few
    over the years abuse command line options (eg -D) enough that the code
    there should be counted, too.

    Quoting the 2024 rules.md file:
    The size of your program source **should NOT exceed 4993 bytes**.

    A lot of programs include sample input (eg, doom.wad) or sample output
    (such as the lage size output from endoh1 this year, as "For
    reference, the 512x512 image took about 10 hours to render"). Plus
    they come with makefiles and readmes, and ..., so there's a bit more:

    The sum of the byte lengths of all files, after the **xz compressed
    tarball** is untarred, must **NOT** exceed `27651*1024` bytes.

    I count (by find|wc, so not very carefully counted) 372 winners
    across 40 years. At ~27 megs each, it would be 10 gigs for every winner
    to use the full size, with 1,857,396 bytes (at most) of that C.

    (I do know that the current limits are higher than old ones, but I'm
    ignoring that for maximum size consideration.)

    So, anyway, 1,857,396 bytes versus 2.2 gigs is notable.

    Elijah
    ------
    which is why it was noted

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)