| ▲ | CyberDildonics 6 hours ago | |
I see this claim all the time without evidence, but it's also apples and oranges. In C++ you can avoid heap allocations so they are rare and large. In java you end up with non stop small heap allocations which is exactly what you try to avoid when you want a program to be fast. Basically java gc is a solution to a problem that shouldn't exist. | ||