/branchless_programming

Proof of concept programming using only truly branchless operations.

Primary LanguageC++MIT LicenseMIT

True Branchless Programming

This repository contains implementations of various programs and algorithms using a true branchless approach.
The rules are:

  • No if statements or ternary operators
  • No condition-based loops, only while (true) allowed
  • No conditional jump instructions allowed in the binary code

This repository is meant as a proof of concept and as a coding challenge. It is not meant to be used in production.