Lua OS - An operating system around Lua, developed by a former Google employee
luaos.net
luaos.net
I've poked around a decent amount of the site, and I'm still not clear on what this is a solution to.
Not that this is a great metric (especially when the source languages are taken into account), but here are the LOC counts in the project:
$ find . -name '*.java' | xargs cat | wc -l
28877
$ find . -name '*.lua' | xargs cat | wc -l
6826
$ find . -name '*.slua' | xargs cat | wc -l
1725[1] http://mail-index.netbsd.org/tech-kern/2010/10/05/msg008900....
That particular example is simple and doesn't permit much room for nefarious actions, but as soon as he adds support for a wider selection of files, POST (and other verbs), caching, templating, authentication and access control, etc, the code will grow in complexity and the advantages of Lua will recede.
For instance, remove the line "isin(path, sources)" and there is a arbitrary file read. White lists are more secure, but they don't scale.
Also by the same author:
- http://article.gmane.org/gmane.comp.lang.lua.general/85887/
- http://article.gmane.org/gmane.comp.lang.lua.general/85891/
- http://article.gmane.org/gmane.comp.lang.lua.general/85896/
- http://article.gmane.org/gmane.comp.lang.lua.general/85886/ (I don't want it to seem like I'm cherry-picking stuff out of context, thread: http://thread.gmane.org/gmane.comp.lang.lua.general/85850/ )
- http://article.gmane.org/gmane.comp.lang.lua.general/85938/
After this spectacle what interest I had in the project when it was first announced waned. Community around an open-source project is very important, and this is not how to build it. I'd rather see the project forked than deal with someone like this.
You could call it the I Automatically Do Not Care Rule(tm).
As an extreme example, are you implying that people who get fired from Google are likely to make good products?
Oh wait, that's way too hard.. its like critical thinking and all that - requires thinking!
And it's wayyyy too accurate too!
Much better to read random "awesome" "next big thing" "former google employe" "you name it"
There are just lots of operating system projects by people who don't really know what an operating system is.
I figure it's best to just let the project stand on it's own ground.
But criticism accepted. Next time I will take care to choose a better title. :)
If you want a modern Linux desktop and web browser scriptable in Lua, consider installing Awesome window manager[1] and LuaKit[2] on top of the distro of your choice instead.
You could perhaps do something on a newer, simpler, and well-designed and documented architecture (say an ARM dev board with a network interface to an X/NX/VNC/browser interface). But even Google continues develops Android on top of Linux for a reason.
I'm convinced the entire hardware and software stack is broken and we need to start listening to people like Chuck Moore a bit more.
(In spirit, I have too many projects already :-)
Regarding abstraction - there is way too much already.
A platform should stand alone and self host be viable, which is impossible with the Linux kernel as you have to pull in most of GNU to build it and change it.
We can do better!
The more active forum can be found here: http://forum.luahub.com/index.php?board=16.0
I think that is a bit backwards. It is actually a LUA GUI around a C based Linux kernal.
I would think that the performance of LUA is too poor at this time for this to be viable. I may try it when this has improved.
Second, Lua is the faster than any interpreted "scripting" language I know of. And if you use LuaJIT, performance can even approach that of compiled languages such as C.
And third, a completely Lua OS is a long-term goal. As I understand it, the main focus of the project at this point is the creation of Safe Lua, then to slowly replace Linux-based userland parts with Lua-based parts.
That argument is orthogonal to whether Lua should or should not be spelled in all-caps. Besides being a Portuguese word, it's also the name for a programming language, and that use could have a different spelling rule.
For example a "gnu" is an english world (an animal of the antelope family), but we spell the organization that bears a gnu as it's logo: GNU.
Same for Python. Actually, Python servers as a counter-argument to your point, because we spell it "Python" (initial cap) whereas if we treated it as an english word it would be just "python".
It's not an argument, it's a statement of fact. I'm not more than a Lua dilettante, yet I know this. The name derives from a Portugese word, so it should be treated as a proper noun, not an acronym.
EDIT: iPad completion snafu.
EDIT: For example a "gnu" is an english world (an animal of the antelope family), but we spell the organization that bears a gnu as it's logo: GNU.
GNU is an acronym, which is why it's spelled that way, which is stated on their websites.
And again, the fact that the name derives from an actual word tells us nothing about how we should treat a language that uses it.
For example, I can make a language called "table" and specify in the docs and faq that it should be written as TABLE (all caps).
Also: "pronoun"? Huh? Pronouns are words like "his", "him" etc. Perhaps you meant "noun"? Still, we don't treat either nouns or pronouns with an initial capital mid-sentence, whereas for Lua we do.
>GNU is an acronym, which is why it's spelled that way, which is stated on their websites.
My point is, the spelling is a arbitrary decision by the project. Notice how, despite it being an acronym they don't write G.N.U, but GNU (and keep the gnu animal imagery). They could have dictated for us to spell it gnu or Gnu or G.n.u, just as easily.
Case in point: the BETA programming language is spelled in all-caps despite BOTH not being and acronym AND being a proper english word.
> "Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right!
("What's in a name?" from http://www.lua.org/about.html)
Lua has a pretty nice performance btw. LuaJIT doesn't have as much backing as V8 or SpiderMonkey and still easily outperforms both of them. I think it's a bit sad that it isn't used in place of Java. Even if you don't like the bare language it'd be nice, if you could have something fast to base another language (there are many language implementations btw, not just Moonscript btw.) on. I wonder if it wouldn't make a nice "bytecode" for a VM, but I am really not into language design.
Substitute Lua with Tcl and it would still be underwhelming.