Embedding Lua

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Embedding Lua

Post 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.
"Programmers are tools for converting caffeine into code."
OrOS
Member
Member
Posts: 143
Joined: Sat Sep 08, 2007 11:26 pm
Location: Canada

Re: Embedding Lua

Post 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)
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Embedding Lua

Post 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.
"Programmers are tools for converting caffeine into code."
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Embedding Lua

Post 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...?!?
Every good solution is obvious once you've found it.
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Embedding Lua

Post 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...)
"Programmers are tools for converting caffeine into code."
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Embedding Lua

Post 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.
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Embedding Lua

Post by quanganht »

That's good
"Programmers are tools for converting caffeine into code."
Post Reply