Linux上的垃圾收集Objective-C? [英] Is Objective-C on Linux garbage collected?
本文介绍了Linux上的垃圾收集Objective-C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
上面的回复是错误的。垃圾回收已成为gcc实施Objective-C的一部分因为至少gcc 2.95 。最新版本是gcc 4.4.1。
Objective-C v2.0 (which is what the mac uses) got a new feature, Garbage Collection. I'm a kid on a Linux PC (Ubuntu in case your wondering). So my question is, using the gcc/g++ compiler is Objective-C Garbage Collected?
解决方案
Replies above are wrong. Garbage collection has been a part of gcc's implementation of Objective-C since at least gcc 2.95. The most recent version is gcc 4.4.1.
这篇关于Linux上的垃圾收集Objective-C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文