On Monday, 13 January 2014 at 23:42:50 UTC, Timon Gehr wrote:
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, ..."
Did you also read the remaining part of the page, or just looked
for something to paste?
You can control the layout, that is what matters. Not at what
level you are expressing it.
Ignoring what such runtimes offer, only puts D at disadvantage
when comparing feature lists, which many in the industry do.
--
Paulo