欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

伟大的LLVM伟大Apple伟大ARC AppleObjective-CperformanceCC++ 

程序员文章站 2022-07-14 16:07:46
...

LLVM带了了ARC,神一样的东西~梦幻般的思想。

彻底了解了GC和引用计数那个好的争论。

Automatic Reference Counting

Automatic Reference Counting (ARC) for Objective-C makes memory management the job of the compiler. By enabling ARC with the new Apple LLVM compiler, you will never need to type retain or release again, dramatically simplifying the development process, while reducing crashes and memory leaks. The compiler has a complete understanding of your objects, and releases each object the instant it is no longer used, so apps run as fast as ever, with predictable, smooth performance.