type-erasure

Tag

Cards List
#type-erasure

Beautiful Type Erasure with C++26 Reflection

Hacker News Top · 5d ago Cached

Introduces rjk::duck, a C++26 reflection library that simplifies type erasure with a clean interface and minimal boilerplate, leveraging the new C++26 reflection features.

0 favorites 0 likes
#type-erasure

GC shape stenciling in Go generics

Hacker News Top · 2026-07-12 Cached

An in-depth explanation of how the Go compiler implements generics using GC shape stenciling, comparing it to Rust's full monomorphization and Java's type erasure.

0 favorites 0 likes
#type-erasure

C++26: More function wrappers

Lobsters Hottest · 2026-05-20 Cached

C++26 introduces two new function wrappers: std::copyable_function, which provides a copyable, const-correct alternative to std::function, and std::function_ref, a non-owning callable reference with reference semantics.

0 favorites 0 likes
← Back to home

Submit Feedback