I feel compelled to disagree with people who insult C++ for the fun of it. In response to what you said, the STL is optimized and fast. You shouldn't be using that many smart pointers because allocating memory on the heap is usually not the best solution. If all you want is perl regex then you're right, perl would be the better choice.
Re:Oct. 14, 1985: C++ Adds to Programming
by jrockway on Thursday October 14, 2010 @04:56PM
(#1792562)
What I'm saying is that people who are bad at C++ get all of the bad parts (memory allocation hell) but none of the good parts (supar speeeeeed). Since most people are bad at programming, it confuses me why they want to use a tool that makes them look bad when they could trade a little theoretical speed for a program that actually runs.
Wait, I answered my own question.
So you're using C++ for speed, which is its only advantage, but you did it wrong and you aren't even getting the speed. But you are happy because you think you are. Sigh.