Scripts execution depends with the Server Configuration.
Why is it that most ASP.NET pages executes very slow compare to PHP and Perl Scripts?
Actually I have not seen such a delay with php and asp.net pages. But since php is a interpreted language (that means, it will be interpret, every time it show on the browser) php should be slow.
But asp.net pages are compiled pages. So they should execute faster than the php.
Delay can course by the amount of data php or asp.net page holds.
Reply:i don't think they are slower. maybe the ASP pages you looked at were more complicated or had bad quality, or their server is slower (it's a windows server, so that wouldn't be a surprise ;) )
i think performance is equal for all those languages.
btw: they are ALL compiled just once, and the bytecode is cached.
Reply:ASP .NET pages are not directly interpreted unlike PHP and PERL. ASP is first converted to IL (intermediate language) and then interpreted so it increases the time taken by it to get executed. I guess now you know how many times does PHP gets interpreted ? Well, if you are as brilliant as I am, the probably you still don't know the answer. Well PHP and PERL are interpreted just once, hence making them faster.
Reply:ASP.NET is based on a powerful framework therefore it do a lot work of the things on the server.
PHP and Perl are faster because of their simple architecture.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment