[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luajit ffi - calling a luajit function via a C function pointer?
- From: Mike Pall <mikelu-1102@...>
- Date: Thu, 10 Feb 2011 20:28:27 +0100
Geoff Leyland wrote:
> You're right, someone *could* rewrite ipopt in Lua, but, for me
> at least, that seems about as hard as rewriting LuaJIT would be,
> and anyway, maybe next week I'll want to use couenne [2]. I
> don't expect any magic from LuaJIT to help in this situation,
> but I think it does occur legitimately.
Please note that I haven't debated the legitimacy of the problem
or that I didn't know about all of the legacy code that developers
have to deal with every day. That's why I said 'don't answer that'.
I just tried to explain that performance *will suffer* with this
design and there's no magic solution that solves this without a
redesign or rewrite of the legacy code.
--Mike