logoalt Hacker News

kfuseyesterday at 1:13 PM1 replyview on HN

Frankly, that doesn't explain much, because that sounds like how modern computing works: every program has its own continuos 32/64 bit address space. With 24 bits you can address 16MB which seems enough to be useful if you throw away reflection and such.


Replies

chongliyesterday at 2:01 PM

16MB is larger than every single SNES game ever released.

Modern programs have dynamic memory allocation. You can't just start writing to any address you want. You have to request memory from the operating system with malloc() and then free() it when you're done. Memory-managed programming languages handle this for you but it's still there under the covers.

On the SNES, you simply have all memory available from the beginning. No malloc/free, just start reading and writing.

show 1 reply