Citation
Carro Liñares, Manuel and Morales Caballero, José Francisco and Muller, Henk L. and Puebla Sánchez, Alvaro Germán and Hermenegildo, Manuel V.
(2006).
High-level languages for small devices: A case study.
In: "2006 international conference on Compilers, architecture and synthesis for embedded systems", October 22 - 27, 2006, Seoul, Republic of Korea. ISBN 1-59593-543-6.
Abstract
In this paper we study, through a concrete case, the feasibility of using a high-level, general-purpose logic language in the design and implementation of applications targeting wearable computers. The case study is a "sound spatializer" which, given real-time signáis for monaural audio and heading, generates stereo sound which appears to come from a position in space. The use of advanced compile-time transformations and optimizations made it possible to execute code written in a clear style without efñciency or architectural concerns on the target device, while meeting strict existing time and memory constraints. The final executable compares favorably with a similar implementation written in C. We believe that this case is representative of a wider class of common pervasive computing applications, and that the techniques we show here can be put to good use in a range of scenarios. This points to the possibility of applying high-level languages, with their associated flexibility, conciseness, ability to be automatically parallelized, sophisticated compile-time tools for analysis and verification, etc., to the embedded systems field without paying an unnecessary performance penalty.