New blog post: GC shape stenciling in #Go generics. Go takes a hybrid approach between full monomorphization and type erasure to implement generics. This way the compile time remains fast but it does introduce some runtime overhead. rednafi.com/go/gc-shape-...
rednafi.comGC shape stenciling in Go genericsHow Go's compiler shares generic function bodies by GC shape and uses dictionaries for the concrete types.
0 reposts0 likes