C++ compile-time

Open-source C++ projects categorized as compile-time Edit details

Top 9 C++ compile-time Projects

  • compile-time-regular-expressions

    Compile Time Regular Expression in C++

    Project mention: Can't use negative lookbehind in std::regex | reddit.com/r/cpp_questions | 2022-06-18
  • lazy_importer

    library for importing functions from dlls in a hidden, reverse engineer unfriendly way

    Project mention: PoC & Guide: Windows EDR bypass through Kernel callbacks removal | reddit.com/r/netsec | 2021-12-07
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.


    a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.

    Project mention: C++ lib for handling SI units | reddit.com/r/cpp_questions | 2021-12-08

    I personally use, and recommend, the units library by Holthaus: https://github.com/nholthaus/units

  • xorstr

    heavily vectorized c++17 compile time string encryption.

    Project mention: Using only skinchanger in osiris, do I need junkcode / vac bypass / VM protect? | reddit.com/r/Csgohacks | 2021-08-10

    the best practice to stay undetected without using vac bypass is to continually change your build, use undetected injector (preferably manual mapping, since vac hooks functions of loadlibrary), remove PE headers upon injection (helps against auto fingerprinting your build), compile-time xorstr (this can be useful as it changes many parts of binary with each build), and -of course- never share your build.

  • ctpg

    Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.

    Project mention: Compile Time Parser Generator - 1.3.6 | reddit.com/r/cpp | 2022-01-03
  • pure_simd

    A simple, extensible, portable, efficient and header-only SIMD library!

    Project mention: Is there a crossplatform way to write Simd? | reddit.com/r/cpp_questions | 2022-04-04
  • uninttp

    A universal type for non-type template parameters for C++20 or later.

    Project mention: uninttp: An extended class type to potentially replace 'auto'-template parameters. (Well, hopefully) | reddit.com/r/cpp | 2021-10-18
  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

  • SpeciaLUT

    Runtime choosing of template specializations using compile-time lookup-tables. Compile all states of a template function, but execute the optimal one at runtime.

    Project mention: Runtime-constant propagation and branching optimization strategy | reddit.com/r/Compilers | 2022-02-06

    I have implemented this as a C++ library, where you extract const states as template parameters, and the library compiles all specializations and allows you to choose the optimal one at runtime.

  • static_string

    Experimental compile-time string manipulation C++17 library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-06-18.

C++ compile-time related posts


What are some of the best open-source compile-time projects in C++? This list will help you:

Project Stars
1 compile-time-regular-expressions 2,398
2 lazy_importer 890
3 UNITS 761
4 xorstr 715
5 ctpg 357
6 pure_simd 210
7 uninttp 16
8 SpeciaLUT 6
9 static_string 0
Find remote jobs at our new job board 99remotejobs.com. There are 4 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.