so once upon a time i watched a video, of like a talk? demonstration? either way the person in question was live coding an emulator at a conference, i think gameboy or NES or something with the simplest game possible and they were doing it by basically implementing instructions only when the cpu tried to execute them and they were unimplemented
i'd quite like to see it again but i've never been able to find it again