2 ms·
1) There is the C++ language. Will you ever remember it? Stop comparing everything to C — it is an oversimplified outdated language with specific uses for low-l
by dakimov 14y ago
1) There is the C++ language. Will you ever remember it? Stop comparing everything to C — it is an oversimplified outdated language with specific uses for low-level system programming where you don't need complex data structures or high-level application logic.
2) If you summarize all the benchmarks comparing C to other languages, it turns out that the C language is one of the slowest. Of course, that's hardly the case. It's just the dudes who did the benchmarks suck in C/C++ and suck in programming in general.
3) Haskell makes you 10 times more productive without microoptimizing? ORLY? Try doing some big enough data manipulation with C++ 11 & boost vs Haskell. In C++ you're done with the task as long as you get decent performance with the simplest naive very high-level code, whereas in Haskell you're in the beginning of your optimization journey as the simplest code is not good enough, and after optimization you end up with much more complex, cluttered and hard to understand code than in C++ and its performance is still comparable to the naive C++ version if you're lucky.