This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Online fortran tutorials
- From: Ted Byers <r dot ted dot byers at rogers dot com>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Thu, 17 Jan 2008 12:55:19 -0500 (EST)
- Subject: Re: Online fortran tutorials
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=3sqiWFUdmaERPa0EleLxzxfoq+A/3OBao35BKGgV8gIACZ2VNFyMECVLYzjUZvh9hVCOEsPa9M1i8d7SfYd28iTkIy5qiE0RI5Lc15oZl4ffmzwe3ttvuX5Bs8CknsECHSY9e/F+QPjQ666H5ShC6PwUS+10vtAJo8CrRsdPA2c=;
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
>