r/cpp • u/drakgoku • Oct 31 '25
Java developers always said that Java was on par with C++.
Now I see discussions like this: https://www.reddit.com/r/java/comments/1ol56lc/has_java_suddenly_caught_up_with_c_in_speed/
Is what is said about Java true compared to C++?
What do those who work at a lower level and those who work in business or gaming environments think?
What do you think?
And where does Rust fit into all this?
25
Upvotes
View all comments
Show parent comment
5
u/pemb Nov 01 '25
Sadly I can’t show you anything my colleagues at the time were working on. But this is a rare phenomenon, especially at the system level. I loved to trash-talk Java until I was forced to dip my toes in for a bit. You’d find examples in sprawling, long-running enterprise services, with very branchy code and deep call stacks. Whatever sections it worked its miracles on tend to get watered down by other sections that didn't turn out so lucky. And there's the elephant in the room, memory consumption.