Type-safe casting

Wilson C. Hsieh, Marc E. Fiuczynski, Przemysław Pardyak et al. · Software Practice and Experience · 1998

Many modern extensible systems, such as Java and the SPIN operating system, depend on type safety for memory protection. Unfortunately, current type-safe languages do not support systems programming well, because they do not give programmers the ability to deal with untyped data easily. In particular, they do not support the ability to cast between untyped data and language-level types. We describe a powerful, type-safe cast operator that helps programmers write low-level systems codes in type-safe languages. We have implemented this operator in Modula-3 for the SPIN operating system, and we give specific examples of how we use it in SPIN. © 1998 John Wiley & Sons, Ltd.

Cited by 4 works. doi:10.1002/(sici)1097-024x(199809)28:11<1245::aid-spe196>3.0.co;2-t

Authors

References