Re: lua vs luajit vs both

2014-01-14 Thread John Keeping
On Tue, Jan 14, 2014 at 02:02:40AM +0100, Jason A. Donenfeld wrote: I've gone ahead and merged the lua work to master, for testing and subsequent cleanup before release. Regarding to jit or not to jit, I currently have this fancy autodetection logic:

Re: lua vs luajit vs both

2014-01-14 Thread Jason A. Donenfeld
On Tue, Jan 14, 2014 at 10:08 AM, John Keeping j...@keeping.me.uk wrote: It was more of a there doesn't seem much overhead to supporting both, since the API is the same. I think the Makefile should take an approach more like this though: ifdef NO_LUA CGIT_CFLAGS +=

lua vs luajit vs both

2014-01-13 Thread Jason A. Donenfeld
Hi, What reasons do we have for supporting lua at all? Why not just go with luajit? It's faster and just as widely supported. The motivation for not supporting vanilla lua is this luajit library: http://luajit.org/ext_ffi.html . This would be a nice way of being able to ship scripts without a big