Then I learned that many new emerging giants like Google, Amazon, etc are using PHP, PERL, Python, Ruby as the main languages. Therefore I shifted to these scripting languages.
It takes roughly 1/3 of the efforts for these languages compared to C++/Java. In PHP, PERL, Python, you can totally forget about memory management, variable declaration, etc.
The costs are too high for any companies hiring pure C++ these days.