C/++ actually make you write relatively slow code too, by default. Not to the extent of Java, but still there is HUGE room for improvement in libC and by extension the STL. I'm working on a slash-and-burn approach to the problem here:
https://github.com/cons-cat/libcat
Languages such as Java or PHP make you lazy and you end up using the string variable type a lot. It is extremely inefficient.