APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product. Learn more →
Top 19 C++ constexpr Projects
-
Other examples are CTRE (https://github.com/hanickadot/compile-time-regular-expressio...) and format string compilation (https://fmt.dev/12.0/api/#compile-api). The closest C counterpart is re2c which also requires external tooling.
-
AppSignal
Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
-
-
Project mention: Building a compiler that works at compile-time so you can compile your program while you compile your program. | dev.to | 2026-07-29
I built a (mostly) full-fledged C compiler that runs entirely in constexpr. Why? No idea. Especially considering it's been done before, you can check out constexpr-8cc. But that one lacks C++ bindings and cross-platform support.
-
-
-
-
Project mention: Snitch – a friendly netstat alternative for humans | news.ycombinator.com | 2025-12-22
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
lift
constexpr C++17 library for simplifying higher order functions in application code (by rollbear)
-
-
-
-
-
Project mention: Show HN: A header-only C++20 compile-time assembler for x86/x64 instructions | news.ycombinator.com | 2026-01-28
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ constexpr discussion
C++ constexpr related posts
-
Building a compiler that works at compile-time so you can compile your program while you compile your program.
-
Implementing Regular Expressions in TypeScript Types (Badly)
-
Challenges creatinga lookup table class that instantiates at compile time and is stored in flash.
-
What are thoughts on removing regular expression from the standard library?
-
Long switch statements. Is there a better way?
-
Verify all characters are same except a few
-
Constexpr regex parser!
-
A note from our sponsor - AppSignal
www.appsignal.com | 13 Oct 2026
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,863 |
| 2 | gcem | 836 |
| 3 | constexpr-8cc | 814 |
| 4 | daw_json_link | 512 |
| 5 | hof | 509 |
| 6 | uni-algo | 334 |
| 7 | snitch | 318 |
| 8 | cthash | 238 |
| 9 | lift | 204 |
| 10 | constexpr-sql | 142 |
| 11 | bitset2 | 127 |
| 12 | bitpacker | 127 |
| 13 | milo | 78 |
| 14 | static_asm | 31 |
| 15 | uninttp | 28 |
| 16 | arby | 9 |
| 17 | enumerate | 7 |
| 18 | codlili | 2 |
| 19 | constyaml | 2 |