lua-users home
lua-l archive

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


> So when I write bindings, I tend to split them into a 'low level' and a
> 'high level'. I believe this is pretty common.

Same here. The advantages of doing this are less code (Lua code is usually
shorter than C code using the API) and greater hackability from the Lua
side.

In the case of POSIX, moreover, I think staying close to C is a good
choice. It lets Lua users easily leverage all the existing documentation
about POSIX.

-- 
Pierre Chapuis