lua-users home
lua-l archive

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

On 30 Mar 2006, at 23:46, Luiz Henrique de Figueiredo wrote:

Also, the Lua core depends lightly on the ANSI C runtime library.
Besides some simple functions from string.h and ctype.h, it needs
sprintf and strtod to convert doubles to and from text, and setjmp,
longjmp and exit. Lua 5.1 also needs pow, floor, and localeconv.
The Lua libraries depend more heavily on the C standard library.

I don't see this as an advantage. The first thing I have to do with a new Lua release is patch in an abstraction layer so that these may be easily replaced. Personally I'd like to see every "standard" function call given a prefix and a default header file of #defines that maps them to their nonprefixed equivalents.