lua-users home
lua-l archive

Re: Lua 5.2 Binary Compatibility

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Jan 9, 2010 at 12:38 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> ABI breakages are unavoidable, and 5.1->5.2 transition have all rights
> to do them.
Yes, lhf was very clear on that. But if it takes a _little_ work to
preserve compatibility with _most_ modules, why not? If it ain't
broken, why fix?
> I believe that the desired behavior for require is to detect Lua
> version mismatch and skip the module to try to find a next one that
> fits better. I'm not sure if it is doable though...
Well, note that lua5.2 is still using '/usr/local/lib/lua/5.1/'.
There's always the distinct _VERSION global.
steve d.

AltStyle によって変換されたページ (->オリジナル) /