https://github.com/nic-obert/branchless_programming
Proof of concept programming using only truly branchless operations.
https://github.com/nic-obert/branchless_programming
branchless challenge cpp proof-of-concept
Last synced: 8 months ago
JSON representation
Proof of concept programming using only truly branchless operations.
- Host: GitHub
- URL: https://github.com/nic-obert/branchless_programming
- Owner: nic-obert
- License: mit
- Created: 2023-08-10T18:55:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-18T08:52:43.000Z (almost 3 years ago)
- Last Synced: 2025-08-19T13:41:57.597Z (10 months ago)
- Topics: branchless, challenge, cpp, proof-of-concept
- Language: C++
- Homepage:
- Size: 11.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.