DIP60: @nogc attribute

Michel Fortin via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 22 11:58:57 PDT 2014


On 2014-04-22 17:52:27 +0000, "Steven Schveighoffer" 
<schveiguy at yahoo.com> said:

> Even doing it the way they have seems unnecessarily complex, given that
> iOS 64-bit was brand new.

Perhaps it's faster that way due to some caching effect. Or perhaps 
it's to be able to have static constant string objects in the readonly 
segments.

Apple could always change their mind and add another field for the 
reference count. The Modern runtime has non-fragile classes, so you can 
change the base class layout breaking ABI compatibility.

-- 
Michel Fortin
michel.fortin at michelf.ca
http://michelf.ca



More information about the Digitalmars-d mailing list