Optimizing prolog for small devices: A case study


Autoria(s): Carro Liñares, Manuel; Morales Caballero, José Francisco; Muller, Henk L.; Puebla Sánchez, Alvaro Germán; Hermenegildo, Manuel V.
Data(s)

01/05/2006

Resumo

In this paper we present the design and implementation of a wearable application in Prolog. The application program is a "sound spatializer." Given an audio signal and real time data from a head-mounted compass, a signal is generated for stereo headphones that will appear to come from a position in space. We describe high-level and low-level optimizations and transformations that have been applied in order to fit this application on the wearable device. The end application operates comfortably in real-time on a wearable computer, and has a memory foot print that remains constant over time enabling it to run on continuous audio streams. Comparison with a version hand-written in C shows that the C version is no more than 20-40% faster; a small price to pay for a high level description.

Formato

application/pdf

Identificador

http://oa.upm.es/14741/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/14741/1/HERME_TCREP_ANDMANS_2006-4.pdf

http://www.clip.dia.fi.upm.es/~clip/papers/carro06:stream-interpreter-TR.pdf

Direitos

http://creativecommons.org/licenses/by-nc-nd/3.0/es/

info:eu-repo/semantics/openAccess

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/other

Monográfico (Informes, Documentos de trabajo, etc)

PeerReviewed