English 中文(简体)
Does garbage collection work with the Go compiler (gc)?
原标题:

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.





相关问题
GarbageCollector, Dispose or static Methods?

I developed a few classes last month. They grow big (round 30-40 Methods each class). I never take a thought of Memory Leaks, GarbageColletor or something like this (I must say this is my first own ...

Can t free memory of NSData object

i m new to xcode / cocoa and even objective-c thus my question might be stupid. Im trying to write a program that will hash files in a folder. I looked around and found a way to load a file via a ...

Alternative to Java

I need an alternative to Java, because I am working on a genetics-calculation project. It takes a lot of memory and the most of the cpu time. And therefore it won´t work when I deploy it on a server, ...

Question about the garbage collector in .NET (memory leak)

I guess this is very basic but since I m learning .NET by myself, I have to ask this question. I m used to coding in C, where you have to free() everything. In C++/.NET, I have read about the garbage ...

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

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?

doubts regarding Memory management in .net

I m learning about Memory management in C# from the book "Professional C#" The presence of the garbage collector means that you will usually not worry about objects that you no longer need; ...

热门标签