On Thu, Nov 28, 2013 at 6:13 AM, Marc Balmer <[email protected]> wrote: > Am 27.11.13 22:23, schrieb Martin Husemann: > >> Can't it be a per-state option, passed by luactl when creating the state? > > That is actually an excellent idea. So what should be the default, > stdlibs enabled or not enabled?
IMO, it should be disabled by default. Thus, it would mimic the Lua library behavior. Where Lua states are created empty and if you want to use stdlibs, you must explicitly load it (e.g., calling luaL_openlibs()). Regards, -- Lourival Vieira Neto
