News for hackers. Stuff that matters.
Re:Building a baseline JIT for Lua automatically by celeritascelery on Saturday May 13, 2023 @10:26AM (#35928741)
I saw that. I think I understand a little better. The CPS is to remove the calls between bytecodes, but wouldn’t do anything about lua function calls.
Re:Building a baseline JIT for Lua automatically by sillycross on Saturday May 13, 2023 @06:58PM (#35933623)
That's correct. Lua function calls are not that easy to remove, as function is first-class value in Lua so can be redefined at any time. To remove a function call, you need speculative compilation and OSR-exit, which is outside the job of the baseline JIT.