Hi there.
most of the time when I'm visiting PHP websites , I sense that they're fastest than same .NET websites.
Is it true ?
Is PHP faster than .NET ?
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Is PHP faster than .NET ?
PHP is waaaaaay faster...
I have nothing to prove that statement by my own biased experience in working in only PHP (although I did tinker with ASP). PHP is the best.
Hows that for an answer? Anymore questions?
I have nothing to prove that statement by my own biased experience in working in only PHP (although I did tinker with ASP). PHP is the best.
Hows that for an answer? Anymore questions?
Re: Is PHP faster than .NET ?
Maybe what makes .NET site slower is that when you visit a .NET site, your browser probably has to work through loads of microsoft-only crap-code first before being able to show you the page. That's just an educated guess 
Re: Is PHP faster than .NET ?
.NET is a framework, so typically sites built on it will be somewhat slower as it adds several levels of abstraction. Having said that, .NET case is much more extreme than most frameworks as it attempts to somewhat emulate development conventions used for desktop software development. Also many shortcuts used by default by its dominant IDE (visual studio) result in tons of bloat code that slows down the application considerably.
This is just the Microsoft way of handling things
This is just the Microsoft way of handling things
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Is PHP faster than .NET ?
Bad code is bad code and it will be slow. You can write badly performing .NET apps just as well as you can Java, PHP, Python, Ruby.. you can see where I am going with this.
C#.NET/VB.NET/J#.NET are languages that are built as layers upon the NET framework. The framework allows for compiled applications which does make things a little faster when done right. But a lot of .NET developers resemble the PHP community in that they get a license for Visual Studio, drag and drop some stuff to the screen, see that it works and begin to tell the world they are programmers.
Performance is a higher level element of programming that a lot of inexperienced/rookie/n00B developers do not take note of enough. That could have a lot to do with performance too.
C#.NET/VB.NET/J#.NET are languages that are built as layers upon the NET framework. The framework allows for compiled applications which does make things a little faster when done right. But a lot of .NET developers resemble the PHP community in that they get a license for Visual Studio, drag and drop some stuff to the screen, see that it works and begin to tell the world they are programmers.
Performance is a higher level element of programming that a lot of inexperienced/rookie/n00B developers do not take note of enough. That could have a lot to do with performance too.
Re: Is PHP faster than .NET ?
I think so Microsoft has best programmers.
But why MSDN Forums is very slow ( or it looks here )
But why MSDN Forums is very slow ( or it looks here )