|
|
|
|
|
by maxime_cb
1205 days ago
|
|
> With all due respect, you ain’t going to beat the JVM with your UVM’s JIT compiler, not even close. I think I may be able to get very close to native performance. I don't want to sound like an asshole by appealing to authority, but you aren't talking to a teenager writing an interpreter from their parent's basement. I have 21 years of programming experience, a PhD in compiler design and multiple published papers. I have some idea what I'm talking about. > Why do you think creating a similarly good JIT compiler to a very similar design would be any easier in case of UVM? The design is superficially similar to the JVM but it's also quite different. UVM's bytecode is untyped. It maps fairly directly to the x86-64 and ARMv8 instruction sets. If you want an idea of how a simple JIT compiler for a bytecode like that can perform, you should look at the performance of Apple's Rosetta. But, I actually think I can build something that yields better performance than that :) |
|