lua-users home
lua-l archive

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


Reuben Thomas <rrt <at> sc3d.org> writes:
> I'm happy to announce release 2 of the general Lua libraries, stdlib.

Thank you, Reuben.  You might add that io_ext depends on the posix
library (also finding it was a bit of a search as it's not in the
files section of http://luaforge.net/projects/lposix/ but rather
linked on the project home page).  

Non-POSIX OS's present an problem.  One can write POSIX
emulation functions, and a quite extensive example is Perl's
POSIX module (http://search.cpan.org/dist/perl/ext/POSIX/POSIX.pod).
It's interesting to note it says "The POSIX module is probably the
most complex Perl module supplied with the standard distribution."
Maybe even Lua can reuse the code from that.  See also comments
on POSIX readdir in http://lua-users.org/wiki/PitLibDirectoryStuff .
Another approach is to use some alternative to POSIX as the
cross-platform OS interface as provided by some of Boost (C++)
or maybe, more appropriately here, the Apache APR (C).