Generic programming for scientific computing in C++, Java™, and C#

9Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Parameterized types (generics) have been announced for the Java™ and C# programming languages. In this paper, we evaluate these extensions with respect to the realm of scientific computing and compare them with C++ templates. At the heart of our comparison are the set and relation classes from the Janus framework which provides abstraction for the efficient representation of meshes, sparse graphs and associated matrices. As an example, we compare the performance of the Bellman-Ford single source shortest path algorithm when using parameterized Janus data structures implemented in C++, Java™, and C#. Our measurements suggest that both Java™ and C# generics introduce only little run time overhead when compared with non-parameterized implementations. With respect to scientific application, C# generics have the advantage of allowing value types (including builtin types) as parameters of generic classes and methods. © Springer-Verlag Berlin Heidelberg 2003.

Cite

CITATION STYLE

APA

Gerlach, J., & Kneis, J. (2003). Generic programming for scientific computing in C++, JavaTM, and C#. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2834, 301–310. https://doi.org/10.1007/978-3-540-39425-9_37

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free