Page 1 of 1

Embedding Lua

Posted: Sun Jan 18, 2009 9:47 pm
by quanganht
Is there any possible use of Lua if I integrate it into kernel ?
It's like scripting the kernel to run, and just modify the scripts make kernel run different.

Re: Embedding Lua

Posted: Sun Jan 18, 2009 10:03 pm
by OrOS
Not...really...as far as I know, only froggey and me have Lua in their os (for me just the shell) and I can't think of any practical reason to build your kernel around it (Except for lulz)

Re: Embedding Lua

Posted: Mon Jan 19, 2009 4:42 am
by quanganht
There isn't anyone have fully thoughts about this yet, but nothing is impossible. For me, I think my exo-kernel will need something to easily change it behavior.

Re: Embedding Lua

Posted: Mon Jan 19, 2009 5:31 am
by Solar
...a libOS?

I mean, how many different ways could an exokernel possibly do things? The way I understood it, if an exokernel has two ways to go about something, it should do whatever it takes to leave that decision to the libOS...?!?

Re: Embedding Lua

Posted: Mon Jan 19, 2009 6:23 am
by quanganht
I'm not sure about this. Maybe changing the way the kernel multiplexing hardware. It surely have to be done in kernel, and no libOS allowed to do so. Or if the kernel have ability to interpret Lua apps from text, then libOSes and Apps can be developed very fast (Of course the 'file explorer', or kind of it', should do works like readding files, transfer it to the interpreter...)

Re: Embedding Lua

Posted: Mon Jan 19, 2009 11:34 am
by JohnnyTheDon
If you're developing an exokernel, your best bet is to just write a libOS that is a Lua interpreter. Exokernels are not supposed to force any abstraction on the processes/libOSes it is running. A scripting language is definitely an abstraction.

Re: Embedding Lua

Posted: Mon Jan 19, 2009 5:46 pm
by quanganht
That's good