Everything2
Near Matches
Ignore Exact
Full Text
Everything2

FORTRAN

created by jonboy

(thing) by jonboy (?) (print)   ?   I like it! Sat Nov 13 1999 at 8:45:01

Short for "Formula Translation," FORTRAN is one of the oldest languages around. Surprisingly, it is still the language of choice for mathematical applications and is used by mathematicians and physicists everywhere.

(thing) by ariels (15.9 hr) (print)   ?   1 C! I like it! Sat May 06 2000 at 15:15:55

Fortran is still in use today for 2 important reasons:
  1. There are tens of millions of lines of code running today. Go to netlib and see how many numerical codes are there. Most are available in C, too, but that's just the result of running f2c on them!

    Don't forget that these codes are hard to write -- rewriting them while ignoring the "interesting" properties of floating point arithmetic will not yield good results.

  2. Since it's so primitive, it's easier to optimise.

    C and C++ are in many ways at the wrong level for optimisation, particularly of mathematical codes. Optimisers can handle fixed-size multi-dimensional arrays reasonably well today (see, e.g., SGI's C/Fortran compiler). But C has terrible semantics for accessing that.

    You can guarantee a reasonably low level of aliasing in most Fortran code (mainly by ignoring all the horrible things people used to do with COMMON blocks). But in C, any pointer potentially points inside any block of memory. Bye-bye register optimisation in your tightest array loops!

Don't count on F90 being the last Fortran...

(thing) by thbz-gene (3.8 y) (print)   ?   I like it! Fri Dec 01 2000 at 8:12:36

This is the genealogy of the programming language Fortran:

Fortran was born in year 1954.
It became Fortran I in year 1956.
It became Fortran II in year 1957.
It became Fortran III in year 1958.
It became Fortran IV in year 1962.
Then it begat PL/I in year 1964.
It became Fortran 66 in year 1966.
It became Fortran 77 in year 1978.
It became Fortran 90 in year 1991.
It became Fortran 95 in year 1995, and has not changed much since that time.

This genealogy is brought to you by the Programming Languages Genealogy Project. Please send comments to thbz.


(thing) by k-tron (1.1 y) (print)   ?   1 C! I like it! Wed May 16 2001 at 17:12:48

With a little luck, one day you will be able to log onto E2 and become an instant FORTRAN god/goddess. Not anytime soon, perhaps, but here's what's around so far:

Nodes with info on FORTRAN (both history and fan letters):

Fortran (you are here)
FORTRAN I
Fortran 66
Fortran 90
Fortran 0x
High Performance Fortran
MIA Fortran
Why FORTRAN is our Friend

How Not to Code:
kangaroo code
spaghetti code

Language/Command Reference Nodes:

COMMMON block
CONJG(x)
GOTO (Fortran-specific syntax not yet covered)
(more upcoming)
Compilers:
g77
f77
Miscellaneous:
Hello World has a FORTRAN version included.
This project motivated by a summer job that involves sorting through and modifying nuclear physics FORTRAN 77 code older than I am. /msg me or softlink anything that ought to be added.

My all-time favorite FORTRAN reference book is Fortran 77 for humans (West Publishing Company, 1980). Despite all mentions of punch cards, it taught me almost all that I know, including how to censor text containing the words "durn" and "heck."

printable version
chaos

Hello World kangaroo code Fortran 90 COBOL
spaghetti code High Performance Fortran Languages in which whitespace is significant g77
The Programming Languages Genealogy Project COMMON block netlib FORTRAN I
How not to panic in thirty different languages Fortran 66 CONJG(X) PL/I
f2c Fortran 0x MIA Fortran goto
Japanese First generation geek Floating point Basic
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
Wired, old school: Information exchange and the explosive popularity of 17th and 18th century coffee houses
Great Depression
Advice the KJV Bible has to give about Everything
Total Depravity
Please stop thanking me for cooling your writeup
Strip club
Georg Hegel
Star of Bethlehem
Of the Terrible Doubt of Appearances
The Art of Noises
Klein bottle
Bourbon
Ego Defense Mechanisms
New Writeups
Mannerisky
Where has the grace gone?(idea)
lee_cad
Isaac(person)
kalen
downvota(poetry)
Andrew Aguecheek
Wstfgl(thing)
ncc05
overheard at IHOP(event)
calgon
Bottomless(poetry)
lismaraxt
Ice Theory of The Origin of Life(idea)
allthetime
Apple Cinnamon Suicide(idea)
Lucy-S
shovelglove(idea)
Adaptive Child
Mexican secret sauce(recipe)
Adaptive Child
nacho libre(recipe)
TheLady
Iron Man(review)
Scaevola
Risk in the Roman law of sale(idea)
semicolon
overheard at IHOP(event)
choirotey
Violent pickup lines(idea)
E2 is a by-product of the existence of The Everything Development Company