lua-users home
lua-l archive

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


2011/11/17 Michal Kolodziejczyk <miko@wp.pl>
On 17.11.2011 10:52, steve donovan wrote:

> Otherwise, I imagine that luaposix will get you most of the way.

Or if you used luajit2, you could use FFI to call system functions. That
would save you mixing in other lua libraries, so you get both compact
and fast solution.


I started working on Linux syscall interface using Luajit FFI for this type of use  

https://github.com/justincormack/ljsyscall

It does a lot of the base stuff you need for init, but still needs more work - you can't bring up IP addresses yet, although you can create bridges, do process management etc. Hoping to have some more time to work on it soon.

Justin