C++ template-metaprogramming

Open-source C++ projects categorized as template-metaprogramming

Top 11 C++ template-metaprogramming Projects

template-metaprogramming
  • nana

    a modern C++ GUI library

  • UNITS

    a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.

  • Project mention: I want some logically difficult c programs | /r/C_Programming | 2023-12-09

    C++ Version

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

    InfluxDB logo
  • HFSM2

    High-Performance Hierarchical Finite State Machine Framework

  • blitz

    Blitz++ Multi-Dimensional Array Library for C++ (by blitzpp)

  • json_struct

    json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa

  • array

    C++ multidimensional arrays in the spirit of the STL

  • Project mention: Einsum in 40 Lines of Python | news.ycombinator.com | 2024-04-27

    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 };

  • constexpr-sql

    Header only library that parses and plans SQL queries at compile time

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • BackportCpp

    Library of backported modern C++ types to work with C++11

  • yapp

    A parallel pipeline for stream processing

  • CppML

    A concise and readable metaprogramming language for C++

  • optimizing-the-memory-layout-of-std-tuple

    Optimizing the memory layout of std::tuple

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

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)

    4 projects | /r/cpp | 15 Nov 2022
  • A C++ compile-time static reflection ConfigLoader framework

    3 projects | /r/cpp | 10 Jul 2021
  • Constexpr SQL – C++ compile time SQL queries

    1 project | news.ycombinator.com | 19 Mar 2021
  • C++ JSON libs Reviewed/Compared - nlohmann, rapidjson, boost.json

    1 project | /r/programming | 26 Dec 2020

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

Sponsored
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.
www.influxdata.com