[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Standard Lua Library
- From: Natanael Copa <natanael.copa@...>
- Date: Mon, 08 Jan 2007 14:18:38 +0100
On Mon, 2007-01-08 at 23:05 +1100, David Burgess wrote:
> On 1/8/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> > > So where are things at with:
> > >
> > > http://lua-users.org/lists/lua-l/2006-10/msg00499.html
> >
> > On hold right now but still very much alive as a goal. Sorry about that.
>
> Is there anything I can do to help progress this?
I agree. I would also like to help if it was possible.
Here are some things I have been thinking:
1. Make a comparison table of all funcions in ex, luafilesystem, lposix
and maybe even their equivalent in apr as reference.
2. Make the API. Decide what functions should be included and what the
names should be
3. Create the lib.
4. remove all the funcs implemented in this lib from lposix and keep
lposix as a posix specific thing for non-windows stuff.
Some points:
* We could borrow a part of the apr API (just strip of the apr_ prefix).
Reimplementing something already working and tested is much easier than
re-engineer from scratch.
* There is no need to stress with implementing both Linux and Windows
from the start. Windows is such a big platform so if we just get the API
there and an initial Linux version, somebody will port it to windows.
Just make sure the API makes it possible (avoid things like fork and
posix specific things)
my $0.02