News for hackers. Stuff that matters.
Re:Effective Go by thebigshane on Tuesday July 24, 2012 @06:58PM (#4288496)
Questions for those more versed in Go's GC than I:

1) Let's say you want to do everything you can to avoid generating garbage. What would some those techniques be?

2) There is no delete function is there (for memory deallocation, not hashmap key removal)?

3) Is it possible to eliminate all garbage, and if so could you prevent the GC from starting up at all?

Possible existing answers that are a bit above my understanding (C# and Python spoil me):

http://news.ycombinator.com/item?id=4231048

http://blog.golang.org/2011/06/profiling-go-programs.html

https://groups.google.com/forum/?hl=fr&fromgroups#!topic...

There are no comments on this comment yet.