lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks so much for explaining that!

---
R. Mark Volkmann
Object Computing, Inc.

On May 13, 2023, at 2:54 PM, Paul Ducklin <pducklin@outlook.com> wrote:


The OP explains that in his posts… it’s a PhD project to do with constructing VMs. The Lua-like parts of the project are derived directly from LuaJIT, not Lua.

As the GitHub pages say, this is the “LuaJIT Remake” project, and the interpreter “is automatically generated from a semantical description of the LuaJIT bytecodes.”

(Apple’s iOS email client will probably ruin the text formatting above.)

So it isn’t strictly targeting Lua at all… you really do need to treat Lua and LuaJIT as two completely different ecosystems, with different numbering systems, too. 

They’re not wildly far apart linguistically, like Java and _javascript_ are, but they are independent, incommensurate, and unlikely-ever-to-be-reunited projects that have been on very different journeys for more than 15 years now.

I think there are lots of people who think of them as still being closely related and effectively interchangeable, because they both have “Lua” in their name. 

So it might help to think of this project as “targeting LuaJIT 2” and not as “targeting Lua 5.1”, with the hope that if it works out well, it might be possible and useful to port it to Lua 5.4 at some point.

On 13 May 2023, at 14:24, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:

Can you share the reasons why it targets Lua 5.1 instead of the latest version?