Thoughts on animation scripting language


Re: Thoughts on animation scripting language
#12
Hi Roland,

Yep - LuaJIT is more or less API compatible - a later switch-over should be easy.

The only gotcha: for 64-bit ABIs, LuaJIT needs to allocate from the lowest 2 GB of address space. If you start your Lua session early or run only Lua this isn't much of a problem, but if you run your app for a while and then have to allocate a pile of Lua memory, you can run out. There are ways to work around this though - I can send you an email if you ever run into this case.

If you have to make a large number of calls into C that do a relatively small amount of math (e.g. one matrix multiply), LuaJIT might be competitive with C due to the overhead cost.

Cheers
Ben
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Thoughts on animation scripting language - by Ben Supnik - 2014-02-07, 1:21

Forum Jump:


Users browsing this thread: 1 Guest(s)