On Sun, 29 Jul 2012 18:32:08 +0200, Alex Rønne Petersen <[email protected]>
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?
--
Simen