Re:Aminal: Golang terminal emulator from scratch
by eru on Sunday December 09, 2018 @09:09AM
(#18640903)
Ok, drop the 'almost'. GC can be as 'free' as eg stack allocation (which nobody seems to mind to much).
See the comment by kibwen (https://news.ycombinator.com/item?id=18551218) for some good pointers to more concepts.
In this case, I also doubt it would make a difference by itself, but I haven't looked at all of the source, so I just mentioned it as something to maybe watch out for. Also, every bit of GC you can super easily avoid "buys" you room for GC that would make the code more complicated to avoid. Waste not, want not :)