Programming Digital Signal Processors in High-Level Languages
In this article Robert Jan lists the pros and cons of programming digital signal processors in high-level languages. Then he compares the code size and the speed of some example programs written in assembly language and in C. According to these measurements, the drawbacks in code size and execution speed are acceptable – especially with the use of some C language extensions. Robert Jan also shows that a C language program, when compiled by a well-designed C++ compiler, has little additional overhead, allowing for a smooth transition from C to C++. Finally, he shows that the use of some C++ constructs can actually improve the runtime performance of C code, and he discusses methods that programmers can use to avoid code performance and size degradation when recoding assembly language DSP application programs in both languages.
View Entire Paper | Previous Page | White Papers Search
If you found this page useful, bookmark and share it on:
Embedded Star Newsletter
Don't have time to visit Embedded Star everyday? Then sign up for our free newsletter. We'll send you an email when we have something to share with you. Your email address will be kept confidential and we will not share, sell, or rent it to anyone. You can unsubscribe at any time by clicking a link in the email.
If you are familiar with RSS feeds, you can also sign up for our free blog feed. Our RSS feed is updated in real-time while our newsletter is updated daily.