<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Semi-static Conditions in Low-latency C++ for High Frequency Trading: Better than Branch Prediction Hints · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2308.14185/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2308.14185/feed.xml" rel="self" type="application/rss+xml" /><item><title>Semi-static Conditions in Low-latency C++ for High Frequency Trading: Better than Branch Prediction Hints — mentioned by kris-jusiak</title><link>https://news.ycombinator.com/item?id=41035401</link><guid isPermaLink="false">urn:hackerpapers:mention:2308.14185:41035401</guid><pubDate>Mon, 22 Jul 2024 15:14:16 GMT</pubDate><description>&lt;p&gt;Hardware branch prediction is very powerful (https://www.intel.com/content/www/us/en/developer/articles/t...) but it&amp;#x27;s also not perfect and costly misdirections may happen (http://ithare.com/infographics-operation-costs-in-cpu-clock-...). Branchless computing (https://www.youtube.com/watch?v=g-WPhYREFjk) is a technique which may help a lot with mitigating the overhead of branching. Alternative way, coming from linux kernel (https://docs.kernel.org/staging/static-keys.html) is to leverage knowledge about branches direction and literally change the instructions via run-time code patching to…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2308.14185/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.PF</category></item></channel></rss>
