![]() |
C++ faster than PHP?
Some people say that a script coded in C++ is way faster than PHP. And some say its not.
Whats your opinions on this? |
it is.
|
Quote:
|
It's faster at most things. Generally any compiled language is going to be faster.
|
It's not an easy question to answer, because they are languages... speed/delays depend completely on how you set up your server. eg, a server with PHP statically linked as an Apache module (ie: it's a part of Apache) may actually be comparable to, or faster than a server that has to load up an executable from cgi-bin each time.
|
It is.. that's why TTT is now TTT C :D
|
In general C++ is faster than php...
|
C++ is faster than PHP !
|
C is compiled, PHP is interpreted. Compiled languages are usually faster.
You can improve the speed of your PHP scripts by using Zend Encoder or Turck MM Cache. |
Quote:
|
C++ is way faster for standalone programs of course being compiled.
But C++ running in cgi-bin can be slower than php, at least out of the box the old fashioned way. So the answer is "maybe". Depends on what you are doing. |
it is faster
|
So if you did everything right. C++ is faster.
There is always an exception somewhere to everything. How about this. PHP is faster to code. |
it's faster but any code is only as good as the coder...
|
Quote:
|
Quote:
|
I read an article a couple of months back comparing C to Perl to PHP. There was something in there about C for loops being 50% faster then Perl and PHP.
|
All times are GMT -7. The time now is 05:30 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123