by mrkstu · 6y ago · 0 comments
Can a JIT be static? Isn't that not possible by definition?
But to answer your question, yes a JIT can be static. JIT just means that the compilation happens at runtime, and "static" in this context means that the compilation is happening at the very start of runtime. You could imagine a JIT that compiles all bytecode to native code immediately on launch. The reason this technique is not used often is that it tends to lead to long startup times. But if the result is cached somewhere then it might be acceptable.
They literally showed a demo of Parallels with Ubuntu for Intel running inside it.