Paper record
W2024914463Eliminating array bound checking through dependent types
Hongwei Xi, Frank Pfenning
- Year
- 1998
- Venue
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)
- References
- 23
- Cited by
- 337
Details and counts from OpenAlex.
Abstract
We present a type-based approach to eliminating array bound checking and list tag checking by conservatively extending Standard ML with a restricted form of dependent types. This enables the programmer to capture more invariants through types while type-checking remains decidable in theory and can still be performed efficiently in practice. We illustrate our approach through concrete examples and present the result of our preliminary experiments which support support the feasibility and effectiveness of our approach.