Meta-programming paradigm and policy-based design are less known programming techniques in Digital Signal Processing (DSP) community, used to coding in pure C or assembly language. Major software components, like C++ STL, have proven usefulness of such paradigms in providing top performance of highly optimised native code, along with abstraction and modularity necessary in complex software projects. This paper describes composition of DSP code using these techniques, bringing as an example implementation of Feedback Delay Network (FDN) artificial reverberation algorithm. The proposed approach was proven to be practical, especially in case of prototyping computationally intense algorithms. To provide further performance insight, we discuss the techniques in context of other optimisation methods, like Single Instruction Multiple Data (SIMD) instruction sets usage and exploitation of superscalar architecture capabilities.
Publié le : 2018-07-03
Classification:  Software Engineering,  C++, low level optimisations, policy-based design, template meta-programming, SIMD, FDN
@article{cai2018_2_269,
     author = {Ireneusz Gawlik; Department of Electronics, AGH University of Science and Technology, Krak\'ow and Szymon Pa\l ka; Department of Electronics, AGH University of Science and Technology, Krak\'ow and Tomasz P\k edzim\k a\.z; Department of Electronics, AGH University of Science and Technology, Krak\'ow and Bartosz Zi\'o\l ko; Department of Electronics, AGH University of Science and Technology, Krak\'ow},
     title = {Meta-Programming and Policy-Based Design as a Technique of Architecting Modular and Efficient DSP Algorithm Implementations},
     journal = {Computing and Informatics},
     volume = {36},
     number = {6},
     year = {2018},
     language = {en},
     url = {http://dml.mathdoc.fr/item/cai2018_2_269}
}
Ireneusz Gawlik; Department of Electronics, AGH University of Science and Technology, Kraków; Szymon Pałka; Department of Electronics, AGH University of Science and Technology, Kraków; Tomasz Pędzimąż; Department of Electronics, AGH University of Science and Technology, Kraków; Bartosz Ziółko; Department of Electronics, AGH University of Science and Technology, Kraków. Meta-Programming and Policy-Based Design as a Technique of Architecting Modular and Efficient DSP Algorithm Implementations. Computing and Informatics, Tome 36 (2018) no. 6, . http://gdmltest.u-ga.fr/item/cai2018_2_269/