[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Init system in Lua
- From: Justin Cormack <justin@...>
- Date: Thu, 24 Nov 2011 11:55:21 +0000
On 17.11.2011 10:52, steve donovan wrote:Or if you used luajit2, you could use FFI to call system functions. That
> Otherwise, I imagine that luaposix will get you most of the way.
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
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.