Monday, May 24, 2010

ASP/PHP when are they compiled on the server?

I heard from some people that each time a request comes the server will re-compile the ASP/PHP file, is it true? If it's not true can someone explain how it works?

ASP/PHP when are they compiled on the server?
ASP.NET is compiled and after the just-in-time compiler compiles it one time on the target machine, it will not be recompiled.





ASP and PHP are interpreted languages that are interpreted on the fly. They are never compiled.
Reply:not sure about ASP.. PHP is not compiled in server... It is simply interpreted line by line... only C, C++ are compiled languages...
Reply:PHP is not compiled, it is interpreted at run time. That being said it is possible to cache partial compilations to speed up processing.


No comments:

Post a Comment