3 ms·
One of the Lua authors has recently posted a more thorough summary: http://article.gmane.org/gmane.comp.lang.lua.general/61505 http://article.gmane.org/gmane.c
by asb 17y ago
One of the Lua authors has recently posted a more thorough summary:
http://article.gmane.org/gmane.comp.lang.lua.general/61505 http://article.gmane.org/gmane.comp.lang.lua.general/61505
The in keyword has been very controversial as with it comes the deprecation of setfenv and getfenv, which are very useful for sandboxing and other tricks. The inclusion of a standard bit operations library is also a big deal, though Mike Pall (author of LuaJIT and LuaBitOp) has raised some objections.
- silentbicycle 17y agoIndeed. About a week ago, I wrote an extension to load modules in a proxy for hot code loading. It's pretty closely tied to get/setfenv. It's still too new to share, but I'm going to see if I can get it working with 5.2. Requiring the debug library (for debug.[sg]etfenv) will be a dealbreaker for some people.
- whyenot 17y agoMike Pall's post is here: http://article.gmane.org/gmane.comp.lang.lua.general/61259 http://article.gmane.org/gmane.comp.lang.lua.general/61259 Unfortunately, it was mostly flame.