.NET on a string
Georg Wrede
georg.wrede at iki.fi
Tue Mar 17 07:59:21 PDT 2009
Walter Bright wrote:
> Cristi talks about adapting D strings to .NET.
>
> http://www.reddit.com/r/programming/comments/84urf/net_on_a_string/?already_submitted=true
>
Actually, meant to ask earlier, but
"[...in .NET,] System.Array and System.ArraySegment are distinct,
unrelated types. In D arrays slices are indistinguishable from arrays
and this creates the problems that I mentioned in the interview."
Is this discussed somewhere?
The idea of slices and arrays being distinct types does seem to have
advantages. I've seen a couple of mentions of this lately, but has there
been a *rigorous* discussion?
More information about the Digitalmars-d
mailing list