←back to thread

327 points AareyBaba | 3 comments | | HN request time: 0.521s | source
1. thenobsta ◴[] No.46184208[source]
I wonder how these compare to high frequency training standards. It seems like they'd have similar speed/reliability/predictability requirements in the critical paths.
replies(2): >>46184380 #>>46184950 #
2. perbu ◴[] No.46184380[source]
JFS-CPP bans exceptions because you would lose control over the execution of the problem. The HFT crowds didn't like it because you'd add 10ns to a function call.

At least before we had zero-cost exceptions. These days, I suspect the HFT crowd is back to counting microseconds or milliseconds as trades are being done smarter, not faster.

3. clanky ◴[] No.46184950[source]
There are at least some HFT players who actually use exceptions to avoid branches on the infrequent-but-speed-critical execution path: https://youtu.be/KHlI5NBbIPY?si=VjFs7xVN0GsectHr