Folks may want to check Chapel (
chapel.cray.com) for another
idea. Arrays are associated with domains, and those define the
indexing. Array slices maintain their original indices, etc.
That last part makes things interesting. Code cannot necessarily
expect 0-based or 1-based indexing, so there's less of an issue
when people work differently. Code can shift the indices
explicitly to what it expects, however.
--
Jason