[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Drawing the line between speed and simplicity/elegance
- From: Coda Highland <chighland@...>
- Date: Fri, 8 May 2015 11:27:49 -0700
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.
/s/ Adam