Tag

monomorphisation

0 views collected around this technical thread.

High Availability Architecture
High Availability Architecture
Nov 12, 2020 · Fundamentals

A Tour of Metaprogramming Models for Generics

This article surveys how various programming languages implement generic programming, comparing approaches such as boxing, monomorphisation, type erasure, vtables, dictionary passing, and compile‑time code generation, and illustrates each method with code examples from Go, Java, Rust, C++, D, and others.

GenericsLanguage DesignTemplates
0 likes · 23 min read
A Tour of Metaprogramming Models for Generics