r/programming • u/VermillionAzure • Aug 10 '15
LuaJIT's main developer is retiring and is looking for new developers
http://www.freelists.org/post/luajit/Looking-for-new-LuaJIT-maintainers24
u/Sean1708 Aug 11 '15
Holy shit, I didn't realise LuaJIT was the effort of a single person. That's fucking impressive!
17
u/orthoxerox Aug 11 '15
Well, it's not 100% Mike's creation, but he's as important as Dr. Richard Hipp is for SQLite.
0
Aug 11 '15
[deleted]
2
u/orthoxerox Aug 11 '15
I should buy new glasses, I've always thought that was a "Dr.".
3
8
u/matthieum Aug 11 '15
LuaJIT is one of the most impressive pieces of technology I've ever seen. In an very small code base, you have a JIT for a Dynamic Language with Garbage Collection for a multiple of CPUs which nonetheless manages to deliver very good performance.
And the best about it? The guy is great: [just read an article he wrote], or well, just look at the tone of the e-mail. We're so used to rage-quits and all making the front pages that it's refreshing to see such a professional behavior.
9
-63
10
Aug 11 '15
[removed] — view removed comment
10
u/lluad Aug 11 '15
I've a feeling that without a dictator to make sensible decisions about what to implement and what not to LuaJIT is probably dead within 12 months. It has a lot of users, but I'm not sure how much it has in the way of community.
8
u/sisyphus Aug 11 '15
It doesn't need a community, it just needs a few sponsors. Cloudflare alone probably depends on it enough at this point to keep it alive and agentzh et. al are not lightweights. If you look in that thread there are other badass motherfuckers interested (including the distel/slime/snabb switch guy, and a V8/Dart guy and probably some others I don't recognize, but some of those names are eastern european so you know, odds are good).
2
u/LeifCarrotson Aug 11 '15
It may not be actively developed in 12 months, but that doesn't make it dead.
If it doesn't get the 5.3 changes merged into it, it's still a fantastic tool. I suspect that the amount of work required to get it to continue to be compilable by the latest compilers will be minimal. It doesn't have libraries that will need updates to keep working; it's a functioning tool and can stay alive as long as there's a sponsor who can keep the download page up.
4
Aug 11 '15
[removed] — view removed comment
3
u/lluad Aug 11 '15
Sure. It's a pretty good embedded language with a decent C API. And the JIT performance is - in some situations - quite impressive. For what I do it's much, much better than vanilla Lua, for the native binding amongst other things. But the core is very complex, and not many people (>1) seem to be intimately familiar with it.
3
u/willvarfar Aug 11 '15
Pysco was also a great thing, also a JIT for an interpreted language, and it died.
A long while later and pypy is still not quite fully replacing cpython. Its a shame.
2
u/wolf550e Aug 11 '15
Psyco?
1
u/wot-teh-phuck Aug 11 '15
1
u/wolf550e Aug 11 '15
Thanks, I've used it a long time ago. I commented to confirm that Will Edwards meant it and not something else (he made a typo).
1
u/willvarfar Aug 11 '15
sorry yeah I just misspelt because I thought all python projects started with py .. :)
2
u/seanjensengrey Aug 12 '15
Replacing CPython is not really something that PyPy has control over or even wants. Armin Rigo the creator of Psyco, is a lead dev on PyPy.
2
u/willvarfar Aug 12 '15
Yes. When Armin decided to kill psyco, he left everyone who was actually using it stuck with cpython 2.6 for absolutely ages. Now pypy is kind of a replacement, but its still very much a work in progress and its not there yet.
The parallel is the idea that luajit may just be killed by its lead dev.
2
u/seanjensengrey Aug 16 '15
Maciej Fijalkowski has the jitpy project that embeds PyPy inside of CPython using CFFI. It doesn't handle all datatypes and there is marshalling overhead, but it looks like a good interim solution for easy speed.
1
u/sisyphus Aug 11 '15
There are some very interesting luajit projects but it does feel more like a fork all the time.
1
u/MoonlightSandwich Aug 11 '15
Minetest also uses LuaJIT by default. They mention that for their purposes it's about twice as fast as normal Lua.
2
u/derpderp3200 Aug 11 '15
Twice? The average performance improvement for most code is between a 4x and 20x speedup, and Lua itself isn't even that slow. LuaJIT is one of the fastest and lightest interpreters for any language around.
0
3
u/InvernessMoon Aug 11 '15
I want to know why the developer didn't like 5.3.
7
4
u/inmatarian Aug 11 '15
Between 5.1 and 5.2 there was a major breaking change to the API. Mike Pall choose to instead backport the features he could rather than tackle migrating all of his users to a new codebase.
3
u/orthoxerox Aug 11 '15
Because his work's been sponsored by companies. Companies that had lots of 5.1 code and weren't interested in 5.2 features. Simple enhancements were ported to LuaJIT, but things like _ENV weren't.
2
u/InvernessMoon Aug 11 '15
This doesn't surprise me. If companies have their way Lua would remain in stasis forever so they don't have to put in the effort to move forward.
3
u/confused_teabagger Aug 11 '15
Mike Pall is a fucking monster! I suspect you have trouble finding people of his caliber to volunteer.
1
1
u/seanjensengrey Aug 12 '15
I think a bigger win (and possibly much harder) would be in porting it to 64 bits.
17
u/heyalexej Aug 11 '15 edited Aug 11 '15
I hope that some companies like CloudFlare or even Mozilla, or companies who use Heka keep this running.
I just learned about the fact that Lua can be injected at runtime into compiled programs which is exactly what I'm interested in.
EDIT: Moz is using and relying heavily on LuaJIT as well for authentication via OpenResty.