C++ Polymorphism Without Inheritance Using Glaze

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • glaze

    Extremely fast, in memory, JSON and interface library for modern C++

  • Glaze is a high performance C++ JSON and interface library. The user provides compile time metadata in order to enable serialization, but this metadata can also be used to enable a form of polymorphism without requiring inheritance.

  • te

    C++17 Run-time polymorphism (type erasure) library

  • https://github.com/boost-ext/te Boost TE ("unnoficial boost project")

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Folly

    An open-source C++ library developed and used at Facebook.

  • https://github.com/facebook/folly/blob/master/folly/docs/Poly.md Folly.Poly

  • polytail

    Rust-like trait-based polymorphism for C++

  • AnyAny

    C++17 library for comfortable and efficient dynamic polymorphism

  • dyno

    Runtime polymorphism done right

  • proxy

    Proxy: Next Generation Polymorphism in C++ (by microsoft)

  • https://github.com/microsoft/proxy Implementation submitted for standarization

  • 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
  • old-new-win32api

    Organized bookmarks to Win32API posts of Raymond Chen's blog "The Old New Thing".

  • There is an interesting blog, now quite old, by Raymond Chen, that started as a companion to his The Old New Thing book I believe, where he speaks about some early days of Windows OS. Raymond seems to be the dev who has worked on Windows OS for the longest time, and has quite deep inisghts into the OS. Anyway, there are few posts he had there, don't know if they are still there, where he writes about undocumented Windows functions, bugs that people caused to themselves and the OS and legths to wchich they went at the Microsoft to make the OS compatible with those applications and work around those bugs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts