Re:Java is very fast, if you don’t create many objects
by ivan_gammel on Monday September 12, 2022 @09:09AM
(#32809577)
I suggest that you pay attention to the numbers in the article. Even super-fast allocation can become an avoidable cost at certain scale.
[ Parent
| on HN ]
Re:Java is very fast, if you don’t create many objects
by gwbas1c on Monday September 12, 2022 @09:14AM
(#32809639)
I get that; but the issue isn't language / runtime specific. You'll hit similar issues in pretty much any programming language / runtime.
Reusing memory used to be pretty standard for C/C++ programmers; and is also standard practice for "real time Java."
Re:Java is very fast, if you don’t create many objects
by ivan_gammel on Monday September 12, 2022 @09:17AM
(#32809688)
Exactly, it is not language-specific. The article could phrase its conclusion better.