[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: any plan about luajit2 support 5.2!
- From: Mike Pall <mikelu-1011@...>
- Date: Fri, 19 Nov 2010 17:09:09 +0100
GrayFace wrote:
> As for __pairs and __ipairs, they have potential to break sandboxing
> or persistence by making it possible to fool the functions of
> framework that were written for 5.1.
You're right of course.
So I've reconsidered and now the upwards-compatible 5.2 features
in LuaJIT are *DISABLED* by default. Even though they are unlikely
to break anything for most people. See src/Makefile for the
-DLUAJIT_ENABLE_LUA52COMPAT switch.
The truly incompatible 5.2 features, such as _ENV, will get an
extra switch when (and if) I'll add them.
--Mike