Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Yes, note lack of mention of speed :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: