Post

2026-02-09-GBC-Shaders

📬 Subscribe to my newsletter Subscribe

I put a real-time 3D shader on the Game Boy Color, Danny Spencer

Self-modifying code is a super-effective way to make code fast. But most modern developers don’t do this anymore, and there are good reasons: It’s difficult, rarely portable, and it’s hard to do it right without introducing serious security vulnerabilities. Modern developers are spoiled by an abundance of processing power, super-scalar processors that take optimal paths, and modern JIT (Just-In-Time) runtimes that generate code on the fly. But we’re on the Game Boy, baybeee, so we don’t have those options.

This post is licensed under CC BY 4.0 by the author.