lua-users home
lua-l archive

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


Hi,

Implementing an already well known existing standard (like posix) is
*way* much more easy than inventing a new one. Learning a well known api
is also much easier than learning a new (specially if it basicly do the
same things) Many things are non-issues for windows too, like chdir,
mkdir getenv.

Sometimes it is best to implementing a direct, one to one
binding to a C library, then use Lua itself to implement a
higher level API on top of that.

That way you are sure that all the functionality is
accessible, and yet you can have Lua-friendly sugars for as
much of it as you want. Newbies and experienced programmers
are happy alike.

Would that work for something like POSIX?

[]s,
Diego.