Re:Why did OKCupid write their own web server?
by dasil003 on Thursday March 10, 2011 @06:58PM
(#2311353)
When C was invented, half of all coding was systems programming. C does a great job of addressing that need, that's why it's a fine language.
The fact that C is not great for GUI apps does not diminish C's quality for what it is, it's just not designed for that level of abstraction.
C++ on the other hand, attempts to be designed for that level of abstraction, and so in fact you are better off writing most types of modern apps in C++ than C in absolute terms, but when compared against other languages designed for the same paradigm it falls down due to complexity overload. That doesn't mean you can't do great work in C++, but you have to really know what you're doing, which parts to avoid, etc. C++'s strength is being both fast and powerful, but most of the time you don't really need both those qualities. Game programming is a notable exception.
The fact that C is not great for GUI apps does not diminish C's quality for what it is, it's just not designed for that level of abstraction.
C++ on the other hand, attempts to be designed for that level of abstraction, and so in fact you are better off writing most types of modern apps in C++ than C in absolute terms, but when compared against other languages designed for the same paradigm it falls down due to complexity overload. That doesn't mean you can't do great work in C++, but you have to really know what you're doing, which parts to avoid, etc. C++'s strength is being both fast and powerful, but most of the time you don't really need both those qualities. Game programming is a notable exception.