Top 11 C++ template-metaprogramming Projects
-
UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
json_struct
json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Version
I wrote a library in C++ (I know, probably a non-starter for most reading this) that I think does most of what you want, as well as some other requests in this thread (generalized to more than just multiply-add): https://github.com/dsharlet/array?tab=readme-ov-file#einstei....
A matrix multiply written with this looks like this:
enum { i = 2, j = 0, k = 1 };
C++ template-metaprogramming related posts
-
EzGz - An easy to use single header no dependency library for decompression of .gz archives written in modern C++ (probably faster than zlib)
-
A C++ compile-time static reflection ConfigLoader framework
-
Constexpr SQL – C++ compile time SQL queries
-
C++ JSON libs Reviewed/Compared - nlohmann, rapidjson, boost.json
Index
What are some of the best open-source template-metaprogramming projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | nana | 2,269 |
2 | UNITS | 925 |
3 | HFSM2 | 445 |
4 | blitz | 401 |
5 | json_struct | 380 |
6 | array | 191 |
7 | constexpr-sql | 136 |
8 | BackportCpp | 66 |
9 | yapp | 58 |
10 | CppML | 53 |
11 | optimizing-the-memory-layout-of-std-tuple | 30 |