HackerTube

THE VIDEO SHELF · obfuscated c programming

ASCII fluid dynamics -- IOCCC2012 endoh1.c

A 3-minute demo of a tiny IOCCC 2012 winning C program that simulates fluid dynamics in an 80x25 terminal, using any text (including its own source) as input. The video shows the simulation running to Handel's Water Music.

Why HN readers recommended it

Commenters repeatedly point to it as an astonishing, beautiful piece of obfuscated-C code golf.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Yusuke Endoh
Topic
obfuscated c programming
Format
demo
Level
general
HN recommenders in dataset
3
HN mentions in dataset
6
Recommendation years in dataset
2018–2025

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • Yusuke Endoh is a god amongst men. His C program which creates an approximation of fluid dynamics from any text input is insane - [VIDEO]

    yung_steezy on Hacker News · 2022-05
    In An uroboros program with 100 programming languages
  • This was written by Yusuke Endoh, who also wrote this submission to the IOCCC that I remember being arguably more astonished when I saw it for the first time: [VIDEO] (ASCII fluid dynamics).

    daptaq on Hacker News · 2022-10
    In A Ruby program that generates itself through a 128-language quine loop
  • My favorite 2D liquid simulator is this IOCCC2012 submission [1]... simply astonishing. That is the source file shown at the beginning of the video... it compiles without warnings, runs a full blown fluid dynamics sim with surface tension and everything, can take itself as its …

    6502nerdface on Hacker News · 2023-02
    In 2D Liquid Simulator with Cellular Automaton

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.