The idea that you might not need the high-level language in the middle at all is interesting in itself. At least, it is to me. I've not seen it before.
This is working backwards. You do realize that before PHP and higher level languages this is how things generally worked to begin with (server modules) as opposed to now (higher level languages).
I still don't understand why this is on hacker news, let alone the top of the list.. seems to be about the most obvious item of all..
I can't really tell from the phc page, but HipHop at least doesn't "speed up PHP code". It converts the code from PHP to C++. That isn't speeding up PHP, that's unraveling the PHP and respinning it as C++.
You're kidding me right? I'm off to re-write my entire app as a stored proc ;)
You are right of course. But what would be nice would be to replace part of a static page with the result of a piece of SQL. To combine ESIs with MySql so that you can serve static files and still be able to add things like watermarks using a MySql lookup based on a session cookie.
You're adding a tremendous amount of overhead with any high level language stuck in between the connect and the data source.
This is about as basic as it gets, not worthy of #1 item on hacker news.