Re:Generics can make your Go code slower
by xyproto on Wednesday March 30, 2022 @03:04PM
(#30859458)
The GC in Go is not mandatory.
[ Parent
| on HN ]
In the language? In the implementation?
Re:Generics can make your Go code slower
by xyproto on Wednesday March 30, 2022 @05:21PM
(#30860922)
Both. It can be paused or disabled at runtime.
But then presumably if you disable it you have to have no heap allocation at any time in your program, or manually manage buffers. I feel like that's not worth it.