|
On Fri, May 8, 2015 at 11:24 AM, Brigham Toskin <brighamtoskin@gmail.com> wrote:
> One, I'd like to keep the code all in Lua for now. I had considered
> implementing some code in C before; that would be nice and zippy, but then
> makes building/installation more cumbersome, and the C code that interfaces
> with Lua is by nature rather ugly and complex. I might consider this kind of
> thing in the future if it turns out I need more performance than I can
> squeeze out of thoughtfully-written Lua code, but I'm not convinced it would
> be a big win for me.
Using the C API will make LuaJIT's performance bottom out. If you're
worried about performance across VMs, stick to pure Lua.