It's a bit of an overkill for my purposes- I've only copied out (and modified) a little of the packfile/ packfile index generation code from git.git. Plus, dealing with the actual code is a great learning exercise :)
On the other hand it would make your applications nginx-specific, right? (which is a problem only if don't like to get stuck with a single web server).
Yeah, I don't see that being a massive problem. I've just started to develop a RESTful interface for MongoDB, which, if done correctly, could utilise the same code for an Apache module and an Nginx module... Let's see how it goes.
I actually find "->" with spaces cleaner and easier to read (just like with almost all the other operators). The "->" operatore without spaces around is very popular (also in Perl code AFAICS), and I sometimes wonder why people do put spaces around e.g. "+" and "=" but not "->".
I'm not sure I've understood what you are requesting, but your description reminded me of Qubes OS http://qubes-os.org/ (based on Linux and Xen).
From the "Architecture" page:
<blockquote>Qubes lets the user define many security domains implemented as lightweight Virtual Machines (VMs), or “AppVMs”. E.g. user can have “personal”, “work”, “shopping”, “bank”, and “random” AppVMs and can use the applications from within those VMs just like if they were executing on the local machine, but at the same time they are well isolated from each other. Qubes supports secure copy-and-paste and file sharing between the AppVMs, of course.</blockquote>
(I've never used it myself though, so I can't help any further).