paper on OO performance with gfortran
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Aug 11 10:58:00 GMT 2015
Dear Damian,
That is fascinating. The fact that g++ is issuing SMD instructions and
gfortran is not is concerning. Funnily enough, I have just started
looking into precisely this area and so will follow it up.
Parameterized Derived Types are much, much more complicated to
implement than I ever imagined. Unexpectedly relative to my first
thoughts, it is the KIND parameters that are troublesome because of
the need to generate separate instances of the derived type for each
value(s) of the KIND parameter(s), using the original declaration as a
template. I am going to raise the question fairly soon as to how to
name these instances.... Were there only LEN parameters,
implementation would be very straight forward.
Cheers
Paul
On 10 August 2015 at 20:40, Damian Rouson <damian@sourceryinstitute.org> wrote:
> All,
>
> In case it’s of interest to you, the following paper provides some performance data based on compiling
> object-oriented code with gfortran and comparing the performance of similar code in C++ and java:
>
> http://airccse.org/journal/ijsea/papers/5314ijsea03.pdf
>
> Damian
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx
More information about the Fortran
mailing list