12 ms·
Lua OS - An operating system around Lua, developed by a former Google employee
- tete 15y agoOh and a small addendum. The more active forum can be found here: http://forum.luahub.com/index.php?board=16.0 http://forum.luahub.com/index.php?board=16.0
- krelian 15y agoLooks like a very cool project but aren't we passed the phase where something like "developed by a former Google employee" needs to be added to add some faux prestige to the project?
- tete 15y agoI thought the same when I wrote this and had it removed for a while. The reason is that I wanted to make clear that this isn't a project by someone who knows Lua, because he plays World of Warcraft or something like that. There are just lots of operating system projects by people who don't really know what an operating system is.
- deleted 15y ago[deleted]
- oconnore 15y agoThere are also a lot of people at Google who aren't OS experts.
- tete 15y agoI didn't call him an expert though. ;) But criticism accepted. Next time I will take care to choose a better title. :)
- Arelius 15y agoEven though he's a Google employee, we still don't know that he just knows lua because he plays World of Warcraft, or is otherwise a suitable operating system designer. I figure it's best to just let the project stand on it's own ground.
- forgotusername 15y agoIt's a reliable heuristic for filtering links that usually do not stand on their own technical merit. The same applies more generally, e.g. to fancy domains, university affiliations, site designs, random fashionable buzzword dropping, ... You could call it the I Automatically Do Not Care Rule(tm).
- Someone 15y ago"X who worked at Google on Y" would be a good heuristic, if Y is a good product, but just "worked at Google"? I think Google is too large nowadays for that to be a good heuristic. As an extreme example, are you implying that people who get fired from Google are likely to make good products?
- scott_s 15y agoI think you did not finish reading his first sentence. (I did not the first time I read his comment.)
- TazeTSchnitzel 15y agoPretty much. Who says that they didn't work as a janitor?
- zobzu 15y agoWhat about reading the links and clicking on the code BEFORE upvoting? 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"
- evan_ 15y agoUnfortunately it was developed by former Google cleaning staff, not Google engineers.
- sharkbot 15y agoI'm a big fan of Lua, and a big fan of correctness via simplicity, but I worry the author is a little too confident for his own good. Take his sample webserver: http://lua4everything.dyndns.org/ http://lua4everything.dyndns.org/ and the accompanying blog post: http://blog.luaos.net/ http://blog.luaos.net/ 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.
- 32362 15y ago[Whilst I believe the project itself should in general stand based on its own merits, in the spirit of openness...] Also by the same author: - http://article.gmane.org/gmane.comp.lang.lua.general/85887/ 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/85891/ - http://article.gmane.org/gmane.comp.lang.lua.general/85896/ http://article.gmane.org/gmane.comp.lang.lua.general/85896/ - http://article.gmane.org/gmane.comp.lang.lua.general/85886/ 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://thread.gmane.org/gmane.comp.lang.lua.general/85850/ ) - http://article.gmane.org/gmane.comp.lang.lua.general/85938/ 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.
- deleted 15y ago[deleted]
- ushi 15y agoomg, its super painful to read this list. whats wrong with these people?
- gouranga 15y agoAnother repurposed Linux system. I'd rather like to see a fresh start and some new ideas.
- marshray 15y agoThe problem is that supporting enough of the PC hardware to build a graphical system from the ground up is a many hundreds of thousands, if not millions, of lines of code commitment. It takes many many bug reports over several years to stabilize something like that. 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.
- gouranga 15y agoDesign the architecture again. It's surprising what you can fit in an FPGA these days. 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.
- gosub 15y agoLinux is fine, it's just a kernel. Innovation goes into the user space, between /sbin/init and /bin/sh. I, for one, would start changing all the configuration files of /etc/ to a standard format: json, yaml, scheme, lua, python, it doesn't really matter, just abstract that part away.
- monistowl 15y agoWake me when it's Scheme OS (and not run by some cheerleading brogrammer).
- justauser 15y agoI was thinking along the same lines. What happened to Guile ( http://www.gnu.org/software/guile/ http://www.gnu.org/software/guile/ )? Maybe the developer(s) were not aware of it's purpose? Substitute Lua with Tcl and it would still be underwhelming.
- mahmud 15y agoGuile is under active development again.
- anonymoushn 15y agoIf this is successful, it would not be difficult to make a loader that lets it run Scheme. Of course, there are probably better Scheme implementations than Lua out there.
- kruhft 15y agoHow about Common Lisp? http://common-lisp.net/project/movitz/ http://common-lisp.net/project/movitz/
- HerrMonnezza 15y agoInteresting project. But apparently has not seen any activity since March 2008.
- scott_s 15y agoI was initially confused - I thought this was going to be an OS implemented in Lua, but it's a Linux distribution which has special sandboxing for Lua: http://luaos.net/docs/manual.php#4 http://luaos.net/docs/manual.php#4. I've poked around a decent amount of the site, and I'm still not clear on what this is a solution to.
- mjschultz 15y agoSpecial Sandboxing that, I think, is implemented in Java. So this is an OS in the sense that it only depends on having a JVM and Lua interpreter installed. 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
- zvrba 15y agoAgreed, the title lead me to believe that the OS is the Lunatik idea [1] taken much further. [1] http://mail-index.netbsd.org/tech-kern/2010/10/05/msg008900.html http://mail-index.netbsd.org/tech-kern/2010/10/05/msg008900....
- davidhollander 15y ago> A first-class modern Linux distribution for the desktop 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. [1] http://awesome.naquadah.org/ http://awesome.naquadah.org/ [2] http://mason-larobina.github.com/luakit/ http://mason-larobina.github.com/luakit/
- jmaygarden 15y agoAwesome is just that. I've been using it for a year or so and love it. Lua is a fantastic language for configuring things. A few lines of Lua code with Awesome and your application windows go exactly where you want them to when opened without needing to reach for the mouse.
- goggles99 15y ago"Lua OS - An operating system around LUA" 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.
- LeafStorm 15y agoFirst, Lua is not spelled in all caps, because it is a Portuguese word. That would be like spelling PYTHON in all caps. 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.
- batista 15y ago>First, Lua is not spelled in all caps, because it is a Portuguese word. That would be like spelling PYTHON in all caps. 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".
- stcredzero 15y agoThat 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. 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.