Abstract
We report on an industrial case study on developing the embedded software for a smart meter using the C programming language and domain-specific extensions of C such as components, physical units, state machines, registers and interrupts. We find that the extensions help significantly with managing the complexity of the software. They improve testability mainly by supporting hardware-independent testing, as illustrated by low integration efforts. The extensions also do not incur significant overhead regarding memory consumption and performance. Our case study relies on mbeddr, an extensible version of C. mbeddr, in turn, builds on the MPS language workbench which supports modular extension of languages and IDEs.
Original language | English |
---|---|
Title of host publication | OOPSLA 2015 - Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming Systems, Languages, and Applications |
Publisher | Association for Computing Machinery (ACM) |
Pages | 655-674 |
Number of pages | 20 |
ISBN (Electronic) | 9781450336895 |
DOIs | |
Publication status | Published - 2015 |
Event | 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2015 - Pittsburgh, United States Duration: 25 Oct 2015 → 30 Oct 2015 |
Conference
Conference | 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2015 |
---|---|
Country/Territory | United States |
City | Pittsburgh |
Period | 25/10/15 → 30/10/15 |
Keywords
- Case Study
- Domain-Specific Language
- Embedded Software
- Language Engineering
- Language Extension