Changing the installation to point to LuaJIT instead of the installed Lua package?

94 views
Skip to first unread message

RichardM

unread,
Oct 12, 2011, 4:46:41 PM10/12/11
to luaforwindows
Can the installation of Lua for windows be modified to point to LuaJIT
instead of the Lua 5.1.4? I have searched but not sure if I can make
sciTE point to a different location for the lua build I want to use.
The reason to do this is that LuaJIT is faster, and the FFI makes
using C functions a breeze.

Thanks,

Andrew Wilson

unread,
Oct 12, 2011, 10:04:22 PM10/12/11
to luafor...@googlegroups.com, Rmcde...@gmail.com

Hi Richard Sorry but Scite has Lua built in to enable debugging, so you could edit with Scite and then run luajit separately. Andrew

RichardM

unread,
Oct 13, 2011, 9:24:28 AM10/13/11
to luaforwindows
Thanks Andrew. I was thinking that was the case.

steve donovan

unread,
Oct 13, 2011, 9:31:34 AM10/13/11
to luafor...@googlegroups.com
On Thu, Oct 13, 2011 at 3:24 PM, RichardM <rmcde...@gmail.com> wrote:
> Thanks Andrew. I was thinking that was the case.

I've actually been using LuaJIT with LfW for a while, with few
problems. But there's definitely an issue with the debugger which I
don't understand yet. Definitely part of the roadmap!

steve d.

RichardM

unread,
Oct 13, 2011, 9:36:51 AM10/13/11
to luaforwindows
I was thinking that since LuaJIT 2.0.0 was just a modified version of
Lua 5.1.4 that it should be possible to rebuild sciTE
with the modified source of LuaJIT replacing the current Lua source.
Is this what you have done Steve?




On Oct 13, 8:31 am, steve donovan <steve.j.dono...@gmail.com> wrote:

steve donovan

unread,
Oct 13, 2011, 9:39:00 AM10/13/11
to luafor...@googlegroups.com
On Thu, Oct 13, 2011 at 3:36 PM, RichardM <rmcde...@gmail.com> wrote:
> I was thinking that since LuaJIT 2.0.0 was just a modified version of
> Lua 5.1.4 that it should be possible to rebuild sciTE
>  with the modified source of LuaJIT replacing the current Lua source.
> Is this what you have done Steve?

Nah, I built a compatible version (using VS2005 runtime) and mostly
the rest of LfW just works.

But SciTE freaks when it tries to debug, so the issue is more subtle...

steve d.

Reply all
Reply to author
Forward
0 new messages