ldionne/dyno
Runtime polymorphism done right observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3548
- days_rel: n/a
- days_push: 1924
- n_releases_24m: 0
Adoption not part of the score
1043 stars · 45 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Dyno is a C++17 header-only library for runtime polymorphism via type erasure, allowing non-intrusive interface definitions without inheritance or heap allocation. It provides fully customizable storage and virtual dispatch strategies, inspired by Rust trait objects and Go interfaces.
Use cases
- replace virtual inheritance with type-erased interfaces
- store polymorphic objects with value semantics
- customize vtable and storage layout for polymorphic types
- implement non-intrusive interfaces for third-party types
- avoid heap allocation for dynamic dispatch
- define Rust-style trait objects in C++
When to choose
- you need runtime polymorphism without inheritance hierarchies
- you want control over how polymorphic objects are stored and dispatched
- you're on C++17 and want value-semantics-friendly dynamic dispatch
- you need to make unrelated types fulfill a common interface non-intrusively
When to avoid
- you need a stable, production-hardened library (it's explicitly experimental)
- you're stuck on pre-C++17 compilers
- plain virtual functions are sufficient for your use case
- you need long-term maintenance and support guarantees
Facets
library · maturity experimental
serialization programming-languages developer-tools cpp cross-platform type-erasure runtime-polymorphism cpp17 header-only value-semantics
1 source
- readme: https://github.com/ldionne/dyno · fetched 2026-08-28 · 7494e68df64c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ldionne/dyno | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem