Skip to content

Comment on Take Over The Galaxy with GitHub (DCPU16 support)parent

Comments

Yep, only thing I dislike is that the processor does not simulate the importance of cache. If the in-game processors allowed the selection of different cache-line sizes (both instruction cache and data cache) for different costs (paid via the in-game currency), it would add another level of depth to the game market. It would also mean getting into the nitty-gritty of optimization would be even more worth it.

Why currency and not cycles? The VM is designed to give each CPU ~100k cycles per second (billed per instruction).

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.