Super Mario Bros shipped in 40KB. A bare React app ships more before you write a line of your own. What did they know that we forgot?
Super Mario Bros shipped in 40KB. A bare React app ships more before you write a line of your own. What did they know that we forgot?
There’s absolutely a catch. You wrote that code for a single piece of hardware. You hand tuned it for that one specific platform taking advantage of every trick you could find. It probably took longer to write than your website and it didn’t really matter if it wasn’t perfect.
You can’t buy a system that slow or that memory constrained anymore (spare me your weird embedded processors, you know what I mean). Move on.
The other catch is something OOP mentions right at the beginning: The main reason their app was 2MB large was because it had images.
You couldn’t do full-frame images on a SNES. Instead, images were built up by pasting small sprites and repeating background tiles everywhere.
If you want high-res images with a colordepth of more than 13 colors per pixel, you will need a lot of storage space for that.