4 ms·
Garbage collection on a NES? AFAIK Lots of (most) games were written in asm, not with very high level languages.
by Agingcoder 5y ago
Garbage collection on a NES?
AFAIK Lots of (most) games were written in asm, not with very high level languages.
- tinus_hn 5y agoThe NES contains 2k of RAM. Although you can extend that in the cartridge I doubt games use garbage collection. Why would you anyway? It’s such a basic, predictable game. There’s a fixed size playing field that contains only one fixed size moving object.
- __s 5y agoBetter would've been to suggest a memory leak But the level being near 256 suggests an integer overflow
- mypalmike 5y agoGoing a bit off topic here, but there's no reason you couldn't use a garbage collector to manage heap memory for your assembly language program. On the NES, such a memory management approach would be particularly insane.
- Agingcoder 5y agoYes, that's what I meant.