4 ms·
There is a reason that NO major web application you name is written in C++, Gmail, Facebook, Google Docs, YouTube. There are major advantages to writing web app
by madaraz 15y ago
There is a reason that NO major web application you name is written in C++, Gmail, Facebook, Google Docs, YouTube. There are major advantages to writing web applications in a higher level language and almost no advantages to writing them in C++.
- javadyan 15y agoI doubt that the parts of YouTube responsible for video-related heavy-lifting (transcoding, detecting copyright infringement, etc.) are written in a dynamic language like Python, Ruby or PHP or even a managed language like Java.
- radarsat1 15y agoI always imagined that they just patch together a bunch of calls to mplayer and ffmpeg using a bit of shell script.. ;)
- javadyan 15y agoMaybe, but this won't do when you actually have to do algorithmic processing of the video (which I think Youtube does after all).
- javadyan 15y agoand by "algorithmic processing" I mean detecting when the video contains a pirated song, for example.
- alexchamberlain 15y agoI'm sure you could script that out to somone else... :oP
- hlfcoding 15y agoYouTube optimizes their Python with psyco: http://www.slideshare.net/didip/super-sizing-youtube-with-python http://www.slideshare.net/didip/super-sizing-youtube-with-py...
- motti 15y agoGmail was originally mostly C++ (server-side), see http://www.quora.com/What-programming-languages-is-Gmail-implemented-in http://www.quora.com/What-programming-languages-is-Gmail-imp... www.google.com remains C++ to the best of my knowledge, see http://web.archive.org/web/20110708015633/http://panela.blog-city.com/python_at_google_greg_stein__sdforum.htm http://web.archive.org/web/20110708015633/http://panela.blog...
- outside1234 15y agounless you are google and running at huge scale. then its C++ because they can hire a huge crowd of newbies from an elite university to maintain it and the cost divided across their huge server base is zero.