Lua
Re: Lua
Afaiu, the idea with Lua is that it is tied in to a layer below it, e.g. a gaming engine when used for game scripting (like on WoW). So if you provide Lua with a proper API to your OS (which probably cannot be written in Lua, at least not fully), driver coding should be possible. Notice however that Lua was never intended for fully fledged app development, so you may run into problems along the way.AusZero wrote:I know it might sound dumb, but I was wondering if it would be a good idea to write an operating system that runs Lua programs only. I was also wondering if the drivers can be written in Lua too.
If you do decide to use Lua for everything, you may also want to consider writing a JIT for it, which will dramatically improve performance.
JAL
- Love4Boobies
- Member

- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Lua
Lol. I've never even heard of it before... *goes through wiki*
What's your first?
What's your first?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- Troy Martin
- Member

- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Lua
It's a great scripting language for games and other engines, but just not designed for low-level stuff. It's not a "portable assembly" like C.
Still, it's fun!
EDIT: Third star!
Still, it's fun!
EDIT: Third star!


