(02-20-2015, 06:20 PM)degasus Wrote: What are the difference between AOT and JIT in your opinion? Especially for emulators?
I feel like if the emulator is consistently running the same code for a game (persisting through multiple start ups) that there's no reason for identical code to be emulated again when you have the native code all ready. In theory it could work for emulators as AOT works with VM code which is a semi-similiar idea. Having an effective "code cache" could save a ton of CPU time, at the expense of disk space from caching a rather huge amount of code. IN theory it should be reliable and doable, because Nvidia's Denver architecture code caching can cache large chunks of dolphin code successfully, so it stands to reason that there's definitely repeat code instances that code be optimized through caching (either to ram for temp cache or disk for more permanent caching).
