ABSTRACT
In this paper, we describe a neural network program that was originally developed in C, then ported to Ada 2005. We explain several simple modifications to the Ada code that reduce the overhead from 76% to 0%. These modifications could provide significant performance gains to other applications, allowing them to combine the safety of Ada with the speed of C. such a complicated data structure. In Section 3, we explain how we modified the code in translating it to Ada. Section 4 describes how we made simple changes to the Ada implementation to eliminate the additional overhead. Section 5 provides conclusions and insights for future projects.
- Tennebo, Frode. (December, 2000). Elegance of Java and the Efficiency of C-It's Ada. Linux Journal. {Online}. Available: http://www.linuxjournal.com/article/4342. Google Scholar
Digital Library
- Weiskirchner, Marcus. (September, 2003). Comparison of the Execution Times of Ada, C and Java. {Online}. Available: http://www.aicas.com/info/EADS_benchmark_language_comparison.pdf.Google Scholar
- Corlan, A. D. "Language Benchmarks." {Online}. Available: http://dan.corlan.net/bench.html.Google Scholar
- Kuhn, Markus. "Markus Kuhn's Ada95 page." {Online}. Available: http://www.cl.cam.ac.uk/~mgk25/ada.html.Google Scholar
Index Terms
Timing neural networks in C and ada
Recommendations
Embedded, hard, real-time systems with Ada
SIGAda '09: Proceedings of the ACM SIGAda annual international conference on Ada and related technologiesDevelopment of real-time systems is expensive and difficult, in part because of low-level languages that force developers to use facilities that are ad hoc, incomplete, and not portable. The Real-Time Systems Annex of Ada 2005 (along with the language ...
Towards a real-time distributed systems annex in Ada
In this paper we address the problem of combining two issues that are standardized separately in two Ada 95 annexes: Real-Time Systems (Annex D) and Distributed Systems (Annex E). With these annexes it is possible to build applications with real-time ...
Testing Ada Annex E-distributed systems
WPDRTS '95: Proceedings of the 3rd Workshop on Parallel and Distributed Real-Time SystemsWith the addition of special needs annexes to Ada 95, the traditional reliance on Ada Compiler Validation Capability style testing may not suffice. This paper explores some alternatives for testing a portion of the Distributed Systems Annex that deals ...







Comments