Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is like going back to malloc and free but using array indices rather than pointers, and each type has a fixed-size heap. We did it in one Microsoft service because the very first .NET releases had slow GCs.


One could argue that pointers are just array indices, where the array is your whole address space, and you only get the one array for all your types.


It helps that pointer-to-T is a distinct type, where (apart from Ada) index-into-array-of-T is just like any other integer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: