5 ms·
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 opp
by earle 16y ago
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..
disappointing
- thwarted 16y agoIsn't this still how things work if you want to do anything easily with Microsoft's IIS?
- henrikschroder 16y agoYes, you can write an ISAPI module if you want as little as possible between your program and IIS, but I wouldn't label that as "easily". And I don't see why you would bother, ASP.Net is compiled, it's not exactly a performance hog, unlike PHP.
- pjscott 16y agoI haven't used them, but there are a variety of PHP compilers, like phc or Facebook's HipHop. I hear that they can really speed up PHP code.
- cookiecaper 16y agoI 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++.
- regularfry 16y agoIt's still speeding up PHP by compiling it, it's just using C++ as an (extra) intermediate representation.
- wrs 16y agoIf you're also using Microsoft SQL Server, it essentially has this capability (using XML not JSON): http://msdn.microsoft.com/en-US/library/ms188266(v=SQL.90).aspx http://msdn.microsoft.com/en-US/library/ms188266(v=SQL.90).a...