High-performance C++ coding challenges with certified benchmark results.
- Subscribe at hftuniversity.com ($5/month)
- Create a private repo and copy this template into it:
git clone https://github.com/Vitorian/hft-challenges.git my-challenges cd my-challenges git remote set-url origin git@github.com:YOUR_USER/my-challenges.git git push -u origin main - Set up your repo at hftuniversity.com/challenges/setup
- Solve challenges by editing files in each challenge's
solution/directory - Test locally using CMake + Google Benchmark
- Submit on the challenge page — our server builds and benchmarks your code on controlled hardware
Requirements: GCC 13+ or Clang 17+, CMake 3.20+, Google Benchmark
cd challenge-01-order-book
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/benchmark- Edit only files inside
solution/directories - Your code must compile with
-std=c++20 -O2 - No inline assembly, no compiler-specific intrinsics (unless stated otherwise)
- Pre-installed libraries (Boost, Abseil, TBB, etc.) are available — see the full list on the website
- Time limit and memory limit are per-challenge (see each challenge's README)
When new challenges are published, pull from upstream:
git remote add upstream https://github.com/Vitorian/hft-challenges.git
git pull upstream main