logoalt Hacker News

doyougnutoday at 1:35 AM2 repliesview on HN

IIRC that talk of about using indices (u32) to represent data in an array. That is orthogonal to representing that information in the type system since you can just type the index


Replies

throwaway27448today at 7:17 AM

How do you distinguish the array from the index? Is an array not just a pointer and index description?