4 ms·
>Beyond the purist ideal of understanding the whole stack, this has practical implications. When you find a bug in LuaJIT, understanding it and fixing it is ter
by coldtea 10y ago
>Beyond the purist ideal of understanding the whole stack, this has practical implications. When you find a bug in LuaJIT, understanding it and fixing it is terribly complicated.
Well, how often people fix bugs in the compiler they use (and haven't written themselves)? Doesn't seem as much a "practical" consideration as the author says...
>Another issue is that PUC Lua and LuaJIT are diverging. LuaJIT implements Lua 5.1. Lua 5.2 code can be made to work as long as it does not use _ENV, but code that leverages the new features in Lua 5.3 is not supported at all
Well, not as much diverging as in "going to different directions" as that LuaJIT implements an older version. Isn't it supposed to eventually catch up?
- catwell 10y agoWell, I have hit three different bugs in five years using LuaJIT, two of which I was the first to report. You cannot consider it as stable as, say, GCC. Regarding your second point: Mike Pall had no intention to catch up completely. I don't know how much that has changed under CloudFlare leadership.
- coldtea 10y agoThanks, I'd expect it to have some bugs (it's a much newer project than GCC, and even Python or Perl have lots of open bugs), but was missing the second information that Mike gave up on it. Last time I checked (a few years ago) it was still going forward.