luajit vs luajit2
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 3
Description
Hello!
I'm a nginx maintainer in openSUSE and I recently had a need to build nginx-lua-module for redis access and I just now found out about luajit and luajit2 and I want to figure out whether I should replace luajit with luajit2, make them alternatives or use luajit2 only for nginx-module-lua.
What is the difference in them and what are the advantages and disadvantages of each over the other.
OpenResty claims luagit2 works much better with mginx-module-lua.
That's all I understand so far.
Why can't OpenResty patches just be added to upstream?
Is it possible to replace luajit with luajit2 in the operating system and what consequences will this cause, for example for gegl used in gimp?
Or does luajit2 work better only with nginx-module-lua and luajit is better for everything else?
https://github.com/LuaJIT/LuaJIT/issues/1191
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked LuaJIT issue and the differences between luajit and luajit2 described in this thread. A useful result would document their trade-offs, OpenResty patch status, and compatibility consequences for nginx-module-lua and other users such as GEGL in GIMP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- compilers
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100