Back to Search
Start Over
Lightweight Generics in Embedded Systems through Static Analysis
- Source :
- LCTES'12: Proceedings of the 13th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, Tools and Theory for Embedded Systems, LCTES'12: Proceedings of the 13th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, Tools and Theory for Embedded Systems, Beijing, China. pp.011-020, ⟨10.1145/2345141.2248421⟩, LCTES
- Publication Year :
- 2012
- Publisher :
- HAL CCSD, 2012.
-
Abstract
- International audience; 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 run- time 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.
- Subjects :
- Parametric polymorphism
[INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL]
Computer science
business.industry
[INFO.INFO-DS]Computer Science [cs]/Data Structures and Algorithms [cs.DS]
Code sharing
020207 software engineering
02 engineering and technology
Code size
Program optimization
Static analysis
Computer Graphics and Computer-Aided Design
020202 computer hardware & architecture
Closed-world assumption
Polymorphic recursion
Development (topology)
Embedded system
Scalability
0202 electrical engineering, electronic engineering, information engineering
[INFO.INFO-ES]Computer Science [cs]/Embedded Systems
business
Software
Subjects
Details
- Language :
- English
- Database :
- OpenAIRE
- Journal :
- LCTES'12: Proceedings of the 13th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, Tools and Theory for Embedded Systems, LCTES'12: Proceedings of the 13th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, Tools and Theory for Embedded Systems, Beijing, China. pp.011-020, ⟨10.1145/2345141.2248421⟩, LCTES
- Accession number :
- edsair.doi.dedup.....f42c59545308d1e01c79f23f5862444d
- Full Text :
- https://doi.org/10.1145/2345141.2248421⟩