News for hackers. Stuff that matters.
Re:Choosing Java instead of C++ for low-latency systems by titzer on Monday February 22, 2021 @11:17AM (#26226224)
And every time someone makes this point I ask them what the latency of their destructor chains are and no one seems to have measured.

If you don't live and die by a profiler, they you're flying blind.

I've seen a lot of claims that "our system absolutely requires low latency" and then when you dig, it turns out that there is a whole lot of praying under there.

That doesn't invalidate your point, to be fair. But we keep talking about all these mythical hard-real time applications and every time I explore, that actual space gets smaller and smaller.

edit: just to be clear, I brought up destructor chains because they are a potentially large, potentially unpredictable cost in the code that may profoundly depend on the heap layout that is not immediately visible looking at the code. They are something that you need to carefully think about and measure to understand their true cost.

There are no comments on this comment yet.