Stefan Reich's Safe Lua is a variant of Lua that allows creating advanced sandboxes - and the basis for a new operating system that we will, tentatively, call Lua OS.
You might not know that you want this yet - but we think you will when you get a feeling for the highly interesting applications of the sandboxes concept.
Aug 25. We're now at 0.6, and it's generating quite a fuzz over at the lua-l mailing list. They complain about Java being part of the system. But hey, we need a GUI. And it's just what works best. Swing, tested and tried.
Don't complain. Be happy that a working Lua OS is taking shape!!
You can now write actual GUI apps in Lua OS. In actual Lua. Try to beat that before you complain about anything. Really.
Aug 16. Lua OS 0.4 is there!! Also, the Sexual Revolution is about to start. Man. What a time this is!
Aug 12. A lot of stuff is happening. I'm now doing computer research in parallel with advancing the revolution. I think we are going to see a lot of action in the latter department soon. London is already burning. Major breakthroughs in Germany - which definitely includes Hamburg - cannot be far off.
I might just give people's grievances a voice. Many people have the same problems. The rent is too high. Finding an apartment is much too difficult. Work sucks. There is too little money. The women don't want to fuck. It's always the same stuff. Time to unite and put this nonsense to an end!
Computer-wise, Safe Lua is progressing nicely too. I am working on true multitasking which will be achieved through running multiple cages at once. Each cage has its own thread. Thus we have cooperative multitasking (between sandboxes) and preemptive multitasking (between cages).
I also launched a nice little microsite called LuaOS.net. I hope it will help promote the project.
Aug 7. Check this out!! Safe Lua 0.3 is already an operating system!!! :)
Aug 5. Boy I'm WIRED. Didn't even sleep for a minute. Fancy hacking allnighter. I feel totally awake. This is a good phase. It's really a good project too. I think there is some gold in there - if you wanna use that word.
Safe Lua 0.2 is here and it can do so many new things. It has multiple sandboxes which are put next to each other in a larger structure called a cage. Think VMs in VMs. It's a mighty structure alright. Also there is now cooperative multitasking (coroutines), intercomm, per-sandbox privilege granting and some basic GUI action. (GUIs are always fun - just not for the programmer.) Here's a guide to the examples.
still Aug 4. [wxLua] is weird. Can't get stuff to work and no proper docs. I think I'll be trying VCLua next. That looks nice and simple and it works on both Windows and Linux.
Aug 4, 2011. A lot of stuff going on. Personally, I am currently hopping between cities. I am chased by violent madmen in city 1, the name of which I am not even going to write down (that sort of thing is a common occurrence here which is why I want to leave this place ASAP).
And so I am establishing a new presence in city 2 which is: Hamburg, Germany. Also a quite crazy place, but friendlier - and it has a revolution. Yes that's right, the German city of Hamburg has a revolution. A young one - but very real I assure you.
These days, I have next to no money. But I learned to live with that, as far as that's actually possible (of course it totally sucks - but not as much as working for money). And I have a notebook and some kind of Internet connection is always around, and so I can do good and exciting things in that beautiful collective mind space we have created.
Safe Lua News: I am currently working on adding GUI support to Safe Lua. I am using wxLua as a toolkit, and figuring out how to integrate the GUI event loop with Safe Lua sandboxes is quite interesting. Also, the system will, for the first time, feature two sandboxes running side by side (one for the Safe-Lua-to-GUI bridge and one for the actual application).
Sandboxes, in the next version, will be both tighter (we now guard against endless loops and trying to load bytecode instead of source code) - and we rip open new holes because the new intercomm facilities for communication between sandboxes will probably not be watertight yet.
But, Safe Lua is in its academic phase where users know that they deal with an unfinished system, so that's not a problem. The point right now is just to see that some things actually work. When I can run a Safe Lua script and it opens a window with, say, a little button in it that actually does something - then I'll know that something good has been achieved.
So long folks! I think I'll pack my bags now and hop over to the glorious city of Hamburg.
Wiki: Orthogonal persistence and the file system
Wiki: Why you need a new operating system.
Wiki: Taming the library for sandboxing
Wiki: Initial announcement
Wiki: Installing on Ubuntu
Wiki: LuaJIT binaries