lua-users home
lua-l archive

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


Hallo,

On Thu, Aug 4, 2011 at 12:30 PM, Axel Kittenberger <axkibe@gmail.com> wrote:
>
> FYI, after the linux kernel finished loading itself, it starts one and
> only one process, and thats more or less hardcoded /sbin/init. On a
> normal desktop this process starts all the other things during bootup
> and then your desktop envirnoment etc.. It will also keep running as
> "mother of all proccesses" with the PID 1. If you kill init, your
> system will shutdown, if you send it a HUP signal it will reboot. If
> on a custom machine you replace init simply with a LUA interpreter.
> you got your LUA-OS. Assignment complete.
>

Well, it depends on what one means by LuaOS. Your scheme is actually
Linux running several Lua interpreters with one interpreter to rule
them all. A true LuaOS would have a virtual memory manager that would
do garbage collection as well,  allow the writing of device drivers in
Lua etc.

-- 
-alex
http://www.artisancoder.com/