Componentizing D's garbage collector

Timon Gehr timon.gehr at gmx.ch
Mon Jan 13 15:42:50 PST 2014


On 01/13/2014 11:05 PM, Paulo Pinto wrote:
> Am 13.01.2014 22:31, schrieb Timon Gehr:
>> On 01/13/2014 10:11 PM, Walter Bright wrote:
>>>>
>>>> Not to say there aren't other ways of doing things, but with random
>>>> objects
>>>> becoming pinnable puts a big damper on things unless you can identify
>>>> all the
>>>> objects that might be pinned and isolate them.  But I doubt that's
>>>> really
>>>> knowable up front.
>>>
>>> The reason pinning doesn't particularly impede this is because pinning
>>> is rare.
>>
>> In Java or in D? Eg. there are no unions in Java.
>
> C# has unions.
>
> http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.structlayoutattribute%28v=vs.110%29.aspx
>

"The common language runtime controls the physical layout of the data 
fields of a class or structure in managed memory. However, ..."


More information about the Digitalmars-d mailing list