Re:How low can you go? Ultra low latency Java in the real wo...
by gpderetta on Friday December 21, 2018 @11:23AM
(#18734309)
Any moderately performance sensitive code in C++, assuming it needs allocations at all will use a dedicated allocator.
While it is hard to beat existing general purpose allocators in all the scenarios, it is easy for specific use cases.
This.
A lot of people seem to be willfully dismissive of this reality when they are fanboying for their favorite languages.
Ask for memory in C++, you'll take a HUGE hit getting it. Ask for memory in Java, and you'll get it lightning fast, but you'll take a huge hit getting rid of it. Either way, you should carefully plan memory usage up front.
Basically, one road leads to death and despair, the other leads to disease and destruction...
pray you choose wisely.