I'm in school right now for comp sci, and I find the whole dolphin project fascinating (and would love to work on it once I get a better understanding). I was doing some research into compilation techniques and it got me thinking: Dolphin uses a standard JIT recompiler, like most emulators. Would it be possible to create a AOT compiler instead? basically have Dolphin "do its thang" on the entire game at once, converting all its code into native x86 code and storing that on disk so that it doesn't have to be done on-the-fly? I know the JIT compiler caches some code during runtime, couldn't that cache be expanded to hold the entire game and then be saved? In my research, I also saw some of the performance boosts that JIT can bring as compared to AOT, so would Dolphin even benefit?
Sorry it this question is stupid, or if I'm missing some big concept somewhere. I'm just really curious about Dolphin and how it works, and why it is in the sate it currently is.
thanks!
keep up the awesome work, devs!
Sorry it this question is stupid, or if I'm missing some big concept somewhere. I'm just really curious about Dolphin and how it works, and why it is in the sate it currently is.
thanks!
keep up the awesome work, devs!