This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Online fortran tutorials


Thanks Paul, I'll take a look.  It may be next week
before I can provide any feedback, though.

One of my projects for this year is to do a comparison
of a number of languages, including fortran, C++,
Java, perl, PHP, and VB (just because so many people
use it, and I learned BASIC more than 20 years ago),
with a view toward understanding the languages (some
of which I've used for over two dozen years) and how
well each supports programming idioms I've learned
since I started with fortran in 1980.  Maybe it is a
reflection of how well I know each language, but I
have found in recent years that my number crunching
code in C++ is faster than my fortran code to do the
same thing; probably a consequence of neat optimizing
tricks I learned to do using template metaprogramming
and strategic distribution of code between
constructors (called once in a simulation) and member
functions (called tens of thousands to tens of
millions of times during a simulation).  But I don't
know even if there is a fortran equivalent to the
templates I love in C++.  This is one of the things I
plan on studying.  If templates aren't available to
me, I need to learn if there is a fortran specific way
to accomplish the same objective that I presently do
using templates.

Thanks again

Ted


--- Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:

> Ted,
> 
> I had what can only be described as a very rapid
> look at some of the
> links and have posted my selection to the gfortran
> wiki.  I would be
> more than happy if the others would add to/subtract
> from/modify what I
> have posted.
> 
>
http://gcc.gnu.org/wiki/Fortran%2095%20tutorials%20available%20online
> 
> Paul
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]