When Is JIT Faster Than a Compiler?(shopify.engineering)
shopify.engineering
When Is JIT Faster Than a Compiler?
https://shopify.engineering/when-jit-faster-than-compiler
3 comments
I once ran across an application that had a heap footprint for which the size was fixed at runtime. The data locality loss from the indirection killed the performance. In principle, JIT could fairly transparently unbox this and have no heap footprint
It probably doesn't help that we never see an interpreted language beat say C speed wise?
Is this enough? What about the function's side effects? If the function changed 1000 variables with the wrong + definition, is it going to roll them back?