“Lock-free” and “branch-less” #programming are fascinating topics:

“The Weird Concept Of ‘Branchless Programming’”, ‘Sanix’ (https://sanixdk.xyz/blogs/the-weird-concept-of-branchless-programming).

Via HN: https://news.ycombinator.com/item?id=45405750

#Optimization #Speed #Efficiency #BranchlessProgramming #Hardware #CPU #BranchPrediction

THE WEIRD CONCEPT OF BRANCHLESS PROGRAMMING

🤦‍♂️ Welcome to the mystical land of branchless programming, where we #sacrifice #readability for the thrill of turning C code into an indecipherable mess. 🤯 It's like code golf for masochists who enjoy watching CPUs hyperventilate from all the caffeine-induced optimizations! ☕️🔧
https://sanixdk.xyz/blogs/the-weird-concept-of-branchless-programming #branchlessprogramming #codegolf #CPUoptimizations #caffeineinduced #HackerNews #ngated
THE WEIRD CONCEPT OF BRANCHLESS PROGRAMMING

THE WEIRD CONCEPT OF BRANCHLESS PROGRAMMING

Branchless Programming: Why "If" is Sloowww... and what we can do about it! #BranchlessProgramming #programming #AssemblyLanguage
https://www.youtube.com/watch?v=bVJ-mWWL7cE
Branchless Programming: Why "If" is Sloowww... and what we can do about it!

YouTube