Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    ASCII fluid dynamics -- IOCCC2012 endoh1.c

    Yusuke Endoh

    3 HN recommenders · recommended in 6 months, 2018–2025

    YouTube

    3:09 · 1.7M views · Nov 24, 2013

    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.

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

    Design, Graphics & Visual MediaCreative coding & generative artC, C++, Rust, Go & systems languagesComputer graphics & rendering
    1. 2:11:32
      How I program CEskil Steenberg1M views • 9 years ago
    2. 1:11:59
      Intro to C on Windows - Day 1Molly Rocket371K views • 11 years ago
    3. 1:19:52
      CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon264K views • 10 years ago
    4. 1:15:51
      Jonathan Blow - How to program independent games - CSUA SpeechAlexandre Franco190K views • 13 years ago
    5. 1:05:59
      Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]ACCU Conference130K views • 5 years ago
    6. 25:41
      Compiling C to printable x86, to make an executable research papersuckerpinch480K views • 9 years ago
    7. 18:50
      Creating a Doom-style 3D engine in CBisqwit991K views • 11 years ago
    8. 2:59:08
      Vibe coding complex changes in RustJon Gjengset56K views • 1 year ago
    9. 39:21
      Functional Composition - Chris FordClojureTV31K views • 13 years ago
    10. 1:25:34
      8 Bit & '8 Bitish' Graphics-Outside the BoxGDC Festival of Gaming569K views • 9 years ago
    11. 1:00:17
      Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”CppCon41K views • 7 years ago
    12. 1:07:22
      Invited Talk - Guy SteeleClojureTV39K views • 9 years ago
    13. 28:39
      Netflix JavaScript Talks - Async JavaScript with Reactive ExtensionsMatt Marenghi70K views • 12 years ago
    14. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago
    15. 49:20
      Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020Redis11K views • 6 years ago
    16. 18:18
      I Tried Turning Games Into TextAcerola572K views • 2 years ago
    17. 26:13
      Animation Bootcamp: An Indie Approach to Procedural AnimationGDC Festival of Gaming787K views • 9 years ago
    18. 10:14
      Making a heart with MathsInigo Quilez112K views • 9 years ago
    19. 44:43
      Ron Pressler - Pull Push: Please stop polluting our imperative languages with pure concepts-Curry OnCurry On!25K views • 11 years ago
    20. 1:03:44
      CppCon 2015: Timur Doumler “C++ in the Audio Industry”CppCon131K views • 11 years ago

    6 comments from Hacker News

    1. @6502nerdfaceFeb 2023· in “2D Liquid Simulator with Cellular Automaton”

      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 own input... truly a work of art. [1] this video

      Strongly recommendsView on HN
    2. @daptaqOct 2022· in “A Ruby program that generates itself through a 128-language quine loop”

      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: this video (ASCII fluid dynamics).

      Strongly recommendsView on HN
    3. @yung_steezyMay 2022· in “An uroboros program with 100 programming languages”

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

      Strongly recommendsView on HN
    4. @bewuethrMay 2018· in “Asciinema – Record and share your terminal sessions”

      These remind me of the ASCII fluid submission [0] at IOCCC 2012 [1] by Yusuke Endoh. The source [2] itself can be used as an input to the program (see video [3]), and he also made a colour version [4]. [0]: [LINK] [1]: [LINK] [2]: [LINK] [3]: this video [4]: [LINK]

      CitesView on HN
    5. @trompMay 2024· in “Fast real time fluid simulator based on MPM algorithm”

      The IOCCC also featured a very concise fluid simulator [1] [2], which can be seen in action in this video [3]. [1] [LINK] [2] [LINK] [3] this video

      CitesView on HN