[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua standard library - thread-unsafety
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 28 Jun 2012 08:01:34 +0200
On Thu, Jun 28, 2012 at 1:57 AM, William Ahern
<william@25thandclement.com> wrote:
> People just need to stop confusing Lua with LuaJIT. Once they do that they
> won't feel like they're being left behind by Lua 5.2.
If you drop
#define LUAJIT_ENABLE_LUA52COMPAT 1
in LuaJIT's luaconf.h, then the metatables __pairs, __ipairs and __len
are available for tables.
As for re-entry safe standard functions, I'm sure he would be open to
that kind of fix.
Even __gc for tables is part of his roadmap for the next-generation
garbage collector.
steve d.