News for hackers. Stuff that matters.
Re:Check Widening in LLVM by drfuchs on Sunday July 17, 2016 @12:07PM (#12110578)
Why "discard the current runtime frame, and resume execution in the interpreter" rather than jump into a compiled but unoptimized version of the function?
Re:Check Widening in LLVM by pcwalton on Sunday July 17, 2016 @01:44PM (#12110956)
You could do the latter too, and that's what V8 does for example (at least until they roll out the interpreter).
Re:Check Widening in LLVM by sanjoy_das on Sunday July 17, 2016 @04:08PM (#12111568)
Yup. The "obvious" downside to that is that you'll burn CPU cycles and memory by generating and keeping around a slow-but-correct compile for every function.