--- title: "@nicbarkeragain Why can't compilers implement this optimization themselves? At least in this example, it seems like a fairly mechanical transformation" type: archive source: twitter source_url: "https://x.com/StatisticsFTW/status/1947684921155199371" author: "Robert Balicki (👀 @IsographLabs)" handle: StatisticsFTW post_id: "1947684921155199371" date: 2025-07-22 archived: 2026-08-25 draft: false tags: - archive - twitter - nicbarkeragain description: "@nicbarkeragain Why can't compilers implement this optimization themselves? At least in this example, it seems like a fairly mechanical transformation" in_reply_to: "" parent_post_id: "1947506500194472221" --- ## Source - URL: https://x.com/StatisticsFTW/status/1947684921155199371 - Author: Robert Balicki (👀 @IsographLabs) (@StatisticsFTW) - Posted: 2025-07-22 15:47:26 ## Branch **1/** **@StatisticsFTW** ^1947684921155199371 **@nicbarkeragain** Why can't compilers implement this optimization themselves? At least in this example, it seems like a fairly mechanical transformation ## Related - Spine: [[archive/threads/nicbarkeragain/2025-07-22-branchless-programming-is-a-term-used-to-describe]]