D versus Objective C Comparison

bearophile bearophileHUGS at lycos.com
Mon Feb 2 07:05:15 PST 2009


Michel Fortin:
> 1. It manages a list of registered classes, and their associated methods.
> 2. It provides a method dispatch mechanism, and manages a list of 
> registered selectors.
> 3. It provides various support routines for the compiler (exception 
> handling, synchronization).
> 
> For comparison, the D runtime does half of 1, and whole of 3, and a lot 
> more.

Note that if you add that 2 to the D runtime, you can do a significant percentage of the things the new "dynamic typing" feature of C#4 does :-) (It's less transparent still and only for classes).

Bye,
bearophile



More information about the Digitalmars-d mailing list