views:

414

answers:

2

I noticed that garbage collection is not yet implemented in gccgo.

http://golang.org/doc/gccgo%5Finstall.html#Unimplemented

Does the standard Go compiler (gc) support garbage collection yet?

+3  A: 

Yes.

DoR
+6  A: 

gccgo has its own runtime, the plan is to switch to use a single runtime shared by both gc and gccgo.

Also, the current garbage collector in gc is rather simple, a concurrent and much faster implementation based on research done by IBM is under development, and will probably be the one used by both gccgo and gc.

uriel