5 ms·
They explicitly said that it can perform both static and dynamic translation for JITs. I wouldn't be surprised if there is substantial hardware support too.
by mantap 6y ago
They explicitly said that it can perform both static and dynamic translation for JITs. I wouldn't be surprised if there is substantial hardware support too.
- mrkstu 6y agoMy brain skipped over that part apparently. It is interesting that they are calling out virtualization improvements separately though.
- SahAssar 6y ago> They explicitly said that it can perform both static and dynamic translation for JITs Can a JIT be static? Isn't that not possible by definition?
- mantap 6y agoI meant that it supports dynamic translation in order to support JITs such as turbofan. 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.