[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: converting modules in written in C for Lua 5.1 to Lua 5.2
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 29 Sep 2012 18:37:09 -0300
> Out of interest is there a reason for making such uses of code only
> compatible with 5.2 rather than get and set which is valid for both
> 5.1 and 5.2?
You have a point, portability and minor impact when upgrading is important,
but I try to make my libraries use the best API in each version, since
they're probably taken as a showcase for the Lua API (for better or worse).
I do maintain separate versions of my libraries.