Lightweight generics in embedded systems through static analysis

9Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Low-end embedded systems are still programmed in C and assembly, and adopting high-level languages such as C# should reduce the length of their development cycles. For these systems, code size is a major concern, but run-time efficiency should also be reasonable - programmers will not migrate to C# unless the overhead compared with C is insignificant. In this paper, we propose a static approach based on whole program optimization for implementing .NET generics in such systems. Indeed, the implementation of runtime generics involves a tradeoff between size and run-time efficiency. In this proposal, generic instances are detected through a generalization of RTA to parametric polymorphism. Also, we propose an implementation scheme which employs code sharing and more effective coercions than boxing. Unlike existing implementation schemes, it is scalable in the number of generic instances without involving boxing and unboxing in a systematic way. Copyright © 2012 ACM.

Cite

CITATION STYLE

APA

Sallenave, O., & Ducournau, R. (2012). Lightweight generics in embedded systems through static analysis. In ACM SIGPLAN Notices (Vol. 47, pp. 11–20). Association for Computing Machinery. https://doi.org/10.1145/2248418.2248421

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free