lua-users home
lua-l archive

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


> > one of Lua's informal missions is to use every part of ANSI libc and
libm.
> 
> That's not entirely correct. We try to reduce the dependency of Lua's core
to
> a minimum. For a more precise statement, see
> 	http://lua-users.org/lists/lua-l/2004-08/msg00092.html

I'll rephrase then.  One of liblualib's informal missions is to use every
part of ANSI libc and libm.

That's not quite true, as there are plenty of bogus string handling
functions we have no need for, and stuff like bsearch and qsort make no
sense or need to be reimplemented anyway.

I'm thinking of writing a little wiki page on bloat hunting.  

Gratuitous war story: I remember finding out that referencing just about
anything in glibc called in assert, which then called in localization (since
you need to print "assertion failed" in the correct language), which then
called in multibyte character support.   Oof.

Jay