开发者

Does garbage collection work with the Go compiler (gc)?

开发者 https://www.devze.com 2022-12-11 15:13 出处:网络
I noticed that garbage collection is not yet implemented in gccgo. http://golang.org/doc/gccgo_install.html#Unimplemented

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

http://golang.org/doc/gccgo_install.html#Unimplemented

Does the standard Go compiler (gc开发者_开发问答) support garbage collection yet?


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.


Yes.

0

精彩评论

暂无评论...
验证码 换一张
取 消