meta
By lock3
static-print
A GCC 7.1 patch that adds a 'static_print' statement to C++. (by saarraz)
meta | static-print | |
---|---|---|
9 | 1 | |
122 | 144 | |
0.8% | - | |
0.0 | 0.0 | |
almost 3 years ago | over 6 years ago | |
C++ | ||
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
meta
Posts with mentions or reviews of meta.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-03.
-
Trying out Reflection TS experimental
I guess I'm confused which compiler to use. Is this by lock3 the "demo" implementation which is superseded by clang 15.0-reflection (godbolt says that's the compiler used). I'm using clang for now
-
Experimental Clang implementation of TS Reflection is now available.
Is it related to the "meta" branch or a completely independent work ? (https://github.com/lock3/meta/wiki)
-
Adding reflection to an existing codebase
then there's no pure C++ solution, you either have to use alternative compilers such as https://github.com/lock3/meta/wiki or Circle, or use an external reflection system such as Qt's moc
-
Code generation using attributes
https://github.com/lock3/meta/wiki/Metaprogramming-Introductory-Tutorial for a fork of clang with the reflection & metaclass feature
-
C++ Reflection
and https://github.com/lock3/meta/wiki/Reflection-Introductory-Tutorial for a tutorial
-
Discussion on possibility of a compile-time printf
yup, that would be the "CPPX" compiler developed for prototyping reflection and metaprogramming features, also available here
static-print
Posts with mentions or reviews of static-print.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-02.
-
Discussion on possibility of a compile-time printf
there was a patch for gcc 7.1 that included that feature: https://github.com/saarraz/static-print
What are some alternatives?
When comparing meta and static-print you can also consider the following projects:
shaders - Circle C++ shaders
printf-tac-toe - tic-tac-toe in a single call to printf
circle - The compiler is available for download. Get it!
C++ Format - A modern formatting library
Refureku - Cross-platform C++17 Runtime Reflection Library
HAR - Drop-in simulator for C/C++-programmable microcontrollers and hardware models
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
circle - A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)