C++ constexpr

Open-source C++ projects categorized as constexpr

Top 21 C++ constexpr Projects

  1. compile-time-regular-expressions

    Compile Time Regular Expression in C++

    Project mention: Show HN: Less Slow C++ | news.ycombinator.com | 2025-04-18

    The problem can occur in general if there is a greedy match within the regex: https://github.com/hanickadot/compile-time-regular-expressio...

    Although it looks like that this got fixed for simple patterns.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. constexpr-8cc

    Compile-time C Compiler implemented as C++14 constant expressions

  4. gcem

    A C++ compile-time math library using generalized constant expressions

  5. hof

    Higher-order functions for c++ (by boostorg)

  6. uni-algo

    Unicode Algorithms Implementation for C/C++

  7. snitch

    Lightweight C++20 testing framework. (by snitch-org)

  8. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  9. cthash

    constexpr implementation of SHA-2 and SHA-3 family of hashes

  10. eternal

    A C++14 compile-time/constexpr map and hash map with minimal binary footprint (by mapbox)

  11. lift

    constexpr C++17 library for simplifying higher order functions in application code (by rollbear)

  12. constexpr-sql

    Header only library that parses and plans SQL queries at compile time

  13. bitpacker

    type-safe and low-boilerplate bit level serialization

  14. bitset2

    std::bitset with constexpr implementations plus additional features.

  15. milo

    Cryptography library for modern C++.

  16. bit_set

    Rebooting the std::bitset franchise

  17. uninttp

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

  18. arby

    Arbitrary precision arithmetic in C++, even at compile-time

  19. enumerate

    Header-only, single file, C++11 compatible version of `enumerate`. (by hipony)

  20. ndvec

    constexpr n-dimensional Euclidean vector

  21. constyaml

    constexpr (strict)yaml parser

  22. codlili

    Constexpr STL-style containers

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C++ constexpr discussion

Log in or Post with

C++ constexpr related posts

  • Implementing Regular Expressions in TypeScript Types (Badly)

    3 projects | news.ycombinator.com | 20 Oct 2024
  • Challenges creatinga lookup table class that instantiates at compile time and is stored in flash.

    1 project | /r/cpp_questions | 19 Jun 2023
  • What are thoughts on removing regular expression from the standard library?

    1 project | /r/cpp | 8 Jun 2023
  • Long switch statements. Is there a better way?

    2 projects | /r/cpp | 8 Mar 2023
  • Verify all characters are same except a few

    1 project | /r/cpp_questions | 9 Mar 2023
  • Constexpr regex parser!

    2 projects | /r/cpp | 14 Feb 2023
  • Constexpr implementation of SHA-2 and SHA-3 family of hashes

    1 project | /r/u_Sufficient-Dirt4517 | 7 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 compile-time-regular-expressions 3,545
2 constexpr-8cc 804
3 gcem 773
4 hof 510
5 daw_json_link 487
6 uni-algo 294
7 snitch 282
8 cthash 215
9 eternal 210
10 lift 198
11 constexpr-sql 142
12 bitpacker 122
13 bitset2 118
14 milo 75
15 bit_set 44
16 uninttp 27
17 arby 8
18 enumerate 7
19 ndvec 2
20 constyaml 2
21 codlili 2

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?