This site's source code

I am curious: Is cplusplus.com written in c++? The site seems to execute rather quickly. I would be very interested to see what the source code looks like.

Is it open source?
I doubt anyone really uses C++ to make web sites. No the site isn't open source last I knew.
Right click < view page source
admkrk, that's not how a website engine works. For instance, if you visit a page implemented via PHP, it's going to output html. This is because php is executed server-side and sends the client html.

EDIT: As such, a C++ website would be implemented probably via CGI or similar and you would never see this code (unless the author wished to give it to you).
Last edited on
Your biggest bottleneck when writing a server will usually be network speed.
The site seems to execute rather quickly.
that has little to do with the language

I doubt anyone really uses C++ to make web sites.

ive mostly seen it to process data server side as cgi, although i would use c++ to write webpages
C++ is most certainly used for server side web development.
http://cppcms.com/wikipp/en/page/main - check out this awesome framework.

Also, yes, C++ can help speed up your site. The above framework spells that out.

I believe OK cupid is written in C++.

http://www.okcupid.com/about/technology

And of course, I think most of you would be aware of Facebook's HipHop PHP to CPP code transformation engine.

https://developers.facebook.com/blog/post/2010/02/02/hiphop-for-php--move-fast/
c++ doesnt speed it up. what determines a sites speed would mostly be determined by the following factors (iirc):
-the translator
-how much data is being transferred
-how fast the network is able to transfer the data
-how fast the client is able to pick it up
Anyone else getting a deja vu feeling? Seems like we had the same discussion several months ago.
@NoXzema
I stand corrected.
we have discussions like these all the time now :/ i really need to make my article about languages and speeds
@Little Bobby Tables
No, I don't mean discussions like this one. I mean this exact same discussion.
Topic archived. No new replies allowed.