2012 iPad mini runs 90k-line Zig game at 60fps with ~100 lines of patches

banteg · x · 2026-09-17

Developer slvDev ported banteg's Zig rebuild of Crimsonland to a 2012 iPad mini 1st gen (A5 / 512MB RAM / iOS 9.3.5): 90k lines of Zig left untouched, only 100 lines of iOS patches added. The toolchain is Zig → C → Xcode clang for 32-bit ARM, with a custom raylib iOS backend on OpenGL ES 2, touch sticks, and working sound—hitting 60 fps at 60MB RAM.

The same author also demonstrated another trick: once you get ssh access to old hardware, a $30-50 secondhand iPad becomes a native Home Assistant wall panel (the official HA app doesn't support iOS 9), priced like a popular esp32 IoT board.

Original post →

More from coding & agent

coding & agent channel →