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 signals 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 efficiency 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.
|Translated title of the contribution||High Level Languages for Small Devices: A Case Study|
|Journal||Compilers, Architecture, and Synthesis for Embedded Systems|
|Publication status||Published - 2006|
Bibliographical noteISBN: 1595935436
Publisher: ACM Press / Sheridan
Name and Venue of Conference: Compilers, Architecture, and Synthesis for Embedded Systems
Other identifier: 2000615