D on next-gen consoles and for game development
Jacob Carlborg
doob at me.com
Wed May 29 02:46:20 PDT 2013
On 2013-05-29 09:05, Paulo Pinto wrote:
> The main reason was that the GC never worked properly given the C
> underpinnings of Objective-C.
>
> Too many libraries failed to work properly with GC enabled, plus you
> needed to fill your code with GC friendly annotations.
>
> So I imagine Apple tried to find a compromises that would work better in
> a language with C "safety".
>
> Even that is only supported at the Objective-C language level and it
> requires both compiler support and that objects inherit from NSObject as
> top most class, as far as I am aware.
>
> Anyway it is way better than pure manual memory management.
I'm pretty it works for their CoreFoundation framework which is a C
library. NSObject, NSString and other classes are built on top of
CoreFoundation.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list