News for hackers. Stuff that matters.
Re:Generics can make your Go code slower by imtringued on Thursday March 31, 2022 @04:52AM (#30865159)
>If you go to allocate something, and the system decides a GC is necessary in order to satisfy your allocation, then the GC has to run before your allocation returns.

Manual memory management on the heap does not solve this problem at all, it is actually worse at it than most traditional GCs. There is no magical system that allocates an object without executing code.

There are no comments on this comment yet.