loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Seventh International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC'05)
Performance Analysis of Generics in Scientific Computing
Timisoara, Romania
September 25-September 29
ISBN: 0-7695-2453-2
Laurentiu Dragan, University of Western Ontario
Stephen M. Watt, University of Western Ontario
This paper studies the performance of generics, or templates as they are sometimes called, for scientific computing in various programming languages. In order to understand the cost of using generics, we develop a test suite for generics based on a standard numeric benchmark. We compare the results of this new benchmark for generics in C++, C# and Java, both between language implementations and against the specialized, non-generic benchmark. We also compare the efficiency of C++ with Aldor, a language originally for computer algebra relying entirely on generics. We find that the implementation of generics in current compilers must be improved before they are used for efficiencycritical scientific applications, and we identify specific areas for potential optimization.
Citation:
Laurentiu Dragan, Stephen M. Watt, "Performance Analysis of Generics in Scientific Computing," synasc, pp.93-100, Seventh International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC'05), 2005
Usage of this product signifies your acceptance of the Terms of Use.