reflect

C++20 Static Reflection library (by qlibs)

Reflect Alternatives

Similar projects and alternatives to reflect based on common topics and language

  1. sgcl

    Smart Garbage Collection Library for C++

  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. mp

    7 reflect VS mp

    C++20 Meta-Programming library

  4. samsara

    a reference-counting cycle collection library in rust

  5. minigc

    Minimal C++ header-only non-moving mark-sweep garbage collector

  6. mlib

    mlib is a fast, simple c++ meta-programming library that uses c++20. (by robertshepherdcpp)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better reflect alternative or higher similarity.

reflect discussion

Log in or Post with

reflect reviews and mentions

Posts with mentions or reviews of reflect. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-15.
  • C++20 – Back to the Future Meta-Programming
    2 projects | news.ycombinator.com | 15 Jul 2024
    The question is - Can we do better? And if so, what are the trade-offs? All in all, wouldn't be great to be able to write the same code for run-time and compile-time and/or debug compile-time code at run-time?

    Reflection for C++ - https://wg21.link/P2996 - introduced a new meta-programming model which is value/consteval based and can greatly improve the experience. Together with reflection is a very powerful combination but it also has its own set of trade-offs such as slower compilation-times.

    This post is about `mp` - https://github.com/boost-ext/mp - meta-programming library which supports - similar to P2996 - meta-programming model for easier transition as it supports C++20 (msvc, gcc, clang), has a bit faster compilation times than P2996, but mostly, it makes meta-programming a 'normal' C++. In the mp world no difference between run-time and compile-time, whole standard library can be leveraged and it has reflection integration with C++20 using https://github.com/boost-ext/reflect. Of course it has it own set of trade-offs but, IMHO, it has a lot of potential and it's super fan.

    > Example (API)

        // mp::meta
  • Tracing Garbage Collection for Arenas
    4 projects | news.ycombinator.com | 26 Jun 2024
    Actually, once C++ has reflection it'll be possible to get rid of the ugly macros and the "only" issue left is root-pointers/shadow stacks. Googling just now to find the boost_pfr library I noticed a newer one that would suit the bill ( https://github.com/boost-ext/reflect/ ).

    Makes me itch to rewrite a small gc I wrote a couple of years back to use that to see how "painless" it's possible to make it without ugly MINIGC_AUTOMARK(..) macros ( https://github.com/whizzter/minigc )

Stats

Basic reflect repo stats
2
439
7.8
about 1 month ago

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?