lua-users home
lua-l archive

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


On Wed, Aug 3, 2011 at 06:35, Pierre Chapuis <catwell@archlinux.us> wrote:
> On Wed, 3 Aug 2011 05:50:38 -0600, HyperHacker wrote:
>
>> I have thought about the idea of a Lua-based OS, and it could
>> certainly be interesting...
>
> I too think such a project would be interesting. It has already
> been tried at least once:
> http://outofhanwell.wordpress.com/2008/08/16/khoros-a-lua-operating-system/
> Sadly the source code is no longer accessible.
>
> Does anybody here know where it could be found or if there have
> been other attempts at running a Lua application without OS support?
>
> --
> Pierre Chapuis
>
>
>

I think the basic idea would be to just write a "bootstrap" kernel,
just enough to set up the machine and load a Lua script from
somewhere, providing it with functions to access the hardware, so that
everything from that level on could be done entirely in Lua.

A much easier method though might be to hack a Linux kernel. And no
matter which method you choose, proprietary graphic drivers present a
problem...

I haven't actually done anything other than thought about this though. :)

-- 
Sent from my toaster.