![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2004
Posts: 5,116
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2003
Location: au
Posts: 3,267
|
it is.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
Quote:
__________________
seks.ai for sale - ping me |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
It's faster at most things. Generally any compiled language is going to be faster.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
It is.. that's why TTT is now TTT C :D
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! ![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2003
Location: Texas / London
Posts: 2,204
|
In general C++ is faster than php...
__________________
$ CLICKMEMEDIA.COM $ CONVERTING ETHNIC TRAFFIC SINCE 1998 ~ $30+PPS
BLACK-X.COM - NEW BLACK EX-GF SITE CLICKMEMEDIA.COM ~ ICQ - 8788771 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2004
Location: Luxembourg
Posts: 335
|
C++ is faster than PHP !
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jun 2003
Location: CZ, EU
Posts: 1,363
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Feb 2004
Location: Sin City, NV
Posts: 212
|
Quote:
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2003
Location: Everywhere at once
Posts: 991
|
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.
__________________
I have no signature |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jun 2004
Posts: 2,440
|
it is faster
__________________
WANT TO PLACE YOUR TEXT/BANNER HERE? MSG ME:ICQ Number :43-420-088 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Clueless OleMan
Join Date: Mar 2003
Location: ICQ - 169903487
Posts: 11,009
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
|
it's faster but any code is only as good as the coder...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Jun 2003
Location: PornStudio
Posts: 868
|
Quote:
__________________
http://www.fastthumber.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Mar 2004
Posts: 5,116
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: May 2004
Posts: 886
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |