3 ms·
Not according to this post: > Go generics combines concepts from "monomorphisation" (stenciling) and "boxing" (dynamic dispatch) and is implemented using GCsha
by gwd 10mo ago
Not according to this post:
> Go generics combines concepts from "monomorphisation" (stenciling) and "boxing" (dynamic dispatch) and is implemented using GCshape stenciling and dictionaries. This allows Go to have fast compile times and smaller binaries while having generics.
https://deepsource.com/blog/go-1-18-generics-implementation https://deepsource.com/blog/go-1-18-generics-implementation
- nasretdinov 10mo agoYes, note lack of mention of speed :)