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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-20-2004, 07:36 AM   #1
More Booze
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?
More Booze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 07:44 AM   #2
Odin88
Confirmed User
 
Join Date: Jul 2003
Location: au
Posts: 3,267
it is.
Odin88 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 07:45 AM   #3
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
Quote:
Originally posted by Odin88
it is.
__________________
seks.ai for sale - ping me
Naughty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 07:58 AM   #4
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 08:01 AM   #5
rowan
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.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 08:03 AM   #6
Basic_man
Programming King Pin
 
Basic_man's Avatar
 
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!
Stop looking! Checkout Naked Hosting, online since 1999 !
Basic_man is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 08:04 AM   #7
james_clickmemedia
Confirmed User
 
james_clickmemedia's Avatar
 
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
james_clickmemedia is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 08:10 AM   #8
frish
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.
frish is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 08:13 AM   #9
cezam
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.
cezam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 09:22 AM   #10
garfield81
Confirmed User
 
Join Date: Feb 2004
Location: Sin City, NV
Posts: 212
Quote:
Originally posted by cezam
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.
ditto
__________________
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.
garfield81 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:13 AM   #11
TheSaint
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
TheSaint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:15 AM   #12
coolfuck
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
coolfuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:17 AM   #13
pussyluver
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.
pussyluver is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:17 AM   #14
xclusive
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...
__________________

I support MediumPimpin.com / Shemp's Outlawtgp.com /


xclusive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:31 AM   #15
Scherfi
Confirmed User
 
Join Date: Jun 2003
Location: PornStudio
Posts: 868
Quote:
Originally posted by TheSaint
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.
agreed.
__________________
http://www.fastthumber.com
Scherfi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:34 AM   #16
More Booze
Confirmed User
 
Join Date: Mar 2004
Posts: 5,116
Quote:
Originally posted by TheSaint
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.
Thats what some programmers in another forum also said.
More Booze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-20-2004, 10:39 AM   #17
lb_vee
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.
lb_vee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.