While fixed arrays can be created now they are not that flexible

A few questions here how will this be created ?

If you want to use strings like C# with the char[] embeded in the string
object you need some mechaism to tell the CLR the size ..

ie i would like to go

var str = new FastString<N:5>;

Where

abstract class FastString {
char[N] data;
}

and the compiler can create a subtype with say

FastString5
fixed char data[5];

Some questions

1. What is the impact of  all these sub types ?

2. I asume typeof( FastString5) != typeof(FastString6) .

3.What about cases where the length is not known at compile time ..

4. The same would for NAT types  ? it ).

Ben
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to