[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
> 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