microsoft/proxy
Proxy: Next Generation Polymorphism in C++ observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 64
- Release rhythm 38
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 58
- age_days: 1556
- days_rel: 332
- days_push: 216
- n_releases_24m: 8
Adoption not part of the score
3040 stars · 223 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Proxy is a header-only C++20 library from Microsoft that provides next-generation polymorphism without inheritance, using pointer-based facades and compile-time facade builders. It is portable, non-intrusive, and freestanding, suitable even for embedded or kernel-level code.
Use cases
- replace inheritance-based polymorphism in C++ with a faster alternative
- write polymorphic code in C++ as easily as in Java or C#
- type-erase arbitrary types without intrusive base classes
- use polymorphism in freestanding or embedded environments
- manage lifetimes of polymorphic objects safely
- build traits-like abstractions similar to Rust in C++
When to choose
- you need polymorphism without inheritance or intrusive modifications to types
- you target C++20 and want a portable, header-only solution
- performance matters and you want to avoid virtual-call overhead and heap allocation where possible
- you work in freestanding environments like kernels or embedded systems
When to avoid
- your codebase must compile with pre-C++20 compilers
- you prefer classic OOP inheritance hierarchies and virtual functions
- you need a maintained upstream - this Microsoft repo is archived; use ngcpp/proxy instead
Facets
library · maturity maintenance
programming-language developer-tools programming-languages developer-tools cross-platform cpp cross-platform windows cpp20 header-only polymorphism duck-typing single-header type-erasure no-inheritance linux macos
2 sources
- readme: https://github.com/microsoft/proxy · fetched 2026-08-28 · a2cdafdcd368
- homepage: https://microsoft.github.io/proxy/spec/ · fetched 2026-08-29 · 59e4846f833e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/proxy | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem