News for hackers. Stuff that matters.
Re:Speculation in JavaScriptCore by tyingq on Wednesday July 29, 2020 @10:17PM (#23993717)
Yes, I suppose "in the same way earlier versions of LuaJIT worked" would be more accurate.
Re:Speculation in JavaScriptCore by jashmatthews on Wednesday July 29, 2020 @10:38PM (#23993891)
LuaJIT 1.x was also an enormous disappointment so it’s a bit perplexing that the PHP team would try something which probably sucks.
Re:Speculation in JavaScriptCore by rurban on Friday July 31, 2020 @02:29PM (#24011956)
Don't believe him. The php jit us entirely different from Lua hit, other than using dynasm. Even raku is using dynasm.

The PHP jit is actually much easier to understand. With SSA for all tiers, CFG, but not that much type speculation at all. The advantage of php, Perl, Ruby over JS is that objects don't vary that much, methods are not overridden that much, and arrays and hashes are much easier. The php jit is at least 10x easier and smaller than JSC. Also C, not C++.

Re:Speculation in JavaScriptCore by tyingq on Sunday August 02, 2020 @12:02AM (#24026222)
Underappreciated comment and upvoted.