D language and .NET platform
ProHeckler
ph2030 at yourfuture.com
Mon Jul 30 00:14:07 PDT 2012
Simen Kjaeraas wrote:
> On Sun, 29 Jul 2012 18:32:08 +0200, Alex Rønne Petersen
> <alex at lycus.org> wrote:
>
>> On 29-07-2012 17:36, bearophile wrote:
>>> Alex Rønne Petersen:
>>>
>>>> .NET is too limited to represent the language,
>>>
>>> Can you tell us why?
>>>
>>> Bye,
>>> bearophile
>>
>> Array slices. The .NET type system has no way to represent them
>> because it's designed for precise GC, and array slices allow
>> interior pointers in the heap (as opposed to the stack when passing
>> a field of an object by reference to a function, or whatever).
>
> So one couldn't simply use a two-level system, with a slice
> referencing an array, and holding an offset and a length?
D is a programming language. Why don't you go to your metrosexual sushi bar
and "talk programming", bitch?
More information about the Digitalmars-d
mailing list