SaaSHub helps you find the best software and product alternatives Learn more →
Top 8 C Metaprogramming Projects
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
There are also other approaches. Macro variants making use of `__VA_ARGS__` would be probably the best trade-off. If you want a slightly more ergonomic syntax, something like Metalang99 [1] will help (and the author even wrote a post about this exact subject [2]). Codegen is another option which may work better than other options depending on the situation and exact implementation strategy. And there is always the Reflection TS [3], which may or may not be incorporated to C++26...
[1] https://github.com/Hirrolot/metalang99
[2] https://hirrolot.github.io/posts/pretty-printable-enumeratio...
[3] https://en.cppreference.com/w/cpp/experimental/reflect
C Metaprogramming related posts
-
Better C Generics: The Extendible _Generic
-
In the year 2038...
-
Full-featured OOP interfaces for C99
-
Templates in C
-
Conditional preprocessor macro, anyone?
-
Why can't python be used like c or c++
-
I wrote an optimizing brainfuck interpreter using only the C Preprocessor, here is how
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Jun 2024
Index
What are some of the best open-source Metaprogramming projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | datatype99 | 1,319 |
2 | metalang99 | 811 |
3 | metadesk | 316 |
4 | interface99 | 262 |
5 | honey-potion | 236 |
6 | adorad | 60 |
7 | bfcpp | 37 |
8 | ableC | 35 |
Sponsored