[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.2 and 5.1
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 8 Apr 2013 23:03:31 -0300
> This is interesting. Given that there are only few functions that need to
> be mapped, is there a "good" way to provide a library that could work with
> both Lua 5.1 and Lua 5.2 run-times?
I don't know. Even if the changes are small I keep separate versions of
my libraries.
> Both Linux and OSX provide a way to do dynamic symbol lookup (-undefined
> dynamic_lookup). It should be possible to provide "proxy" for those
> functions that have changed between 5.1 and 5.2 and resolve them at run
> time depending on the version of loaded Lua libraries.
Lua does not support binary compatibility across versions.