I chose Java as a mere example. I don't know where you get that I'm defending Java. I'm the first one that doesn't like it :D. I am not defending nor shitting on any language here, mine was more of a general discussion.
I'm aware of the limitations that Java has. By "C/C++ rubbish" I mean a good portion of the code written by most unexperienced C/C++ programmers who don't usually focus on the efficiency of their algorithms.
I'm not trying to diminish the value of C or C++. In fact I'm using C right now.
I am fully aware of the differences between the two. I'm not the type of person that speaks without knowing the subject.
I'll give you an example of what I meant. Let's say two programmers have to implement a priority queue using two different languages, one of them is faster than the other one.
The first programmer who is using the faster language implemented it in a naive way (unordered linked list, ordered linked list, or ordered array, doesn't matter).
The second programmer that is using a slower language implemented it using heaps.
Guess who's algorithm is faster given a large input?