...The bytes for different architectures are all well-documented, or GCC wouldn't target them. Yes, you have to do more work, but with a system like Enigma, what are the chances a game will be published on x86 even if it's on other platforms too?
That page I gave you had benchmarks for the compiler, not just a list of features. Also, LLVM compiles to native code. It can be JIT, which is how you would probably do it in a VM, but it could also be AOT. In fact, Clang is AOT. It's just a normal compiler. BTW, thanks for the links, serprex.
You wouldn't have to check every time you draw an image- just when the object responsible for it is created. It would be a tradeoff, though- more memory usage.
|