-----Original Message-----
From: cctalk-bounces at
classiccmp.org [mailto:cctalk-bounces at
classiccmp.org]
On Behalf Of Mouse
Sent: 28 September 2014 14:47
To: cctalk at
classiccmp.org
Subject: Re: Who is the world's oldest working programmer?
>
Today? C is quite possibly the most widely portable language there
> is. [...]
Having "C" is not the answer to every maiden's
prayer.
No, of course not. There are still machines with FORTRAN but not C; there
are
more which support FORTRAN well and C badly. I just think they are rare
compared to the swamp of machines with C but no FORTRAN.
Whilst I agree with the sentiment, consider the following proposition:-
1. The vast majority of "Machines with 'C'" are "machines with GNU
"C"'
2. If the GNU compiler package is fully implemented GNU Fortran should run
on any machine with GNU "C" (well C++)
Given the above it would appear to me that machines with "C" but no Fortran
(available/possible) are also pretty rare beasts, and largely exist because
of lack of demand...
... actually it appears that the PDP-8 doesn't have a proper "C" compiler
but it does have Fortran. I wonder how many PDP-8's still exist....
.. and finally if we change the definition to "machines with a self hosted
"C" compiler" as "opposed to "C" via a cross compiler"
then I think the
numbers would equalize....
Having said all that I am still not going to write any new code in Fortran,
well except that I want a HangMan program for my IBM1130 FPGA emulation and
Pen Plotter for demo purposes and I don't have "C" for the 1130 so it is
going to be in FORTRAN...
Dave
G4UGM
If you are interested in Scientific Programming
then it may be if it's
a small platform that whilst it has a "C" complier it doesn't have the
libraries you need to run your program.
Sure. But in that respect C is no different from FORTRAN. (The presence
of
support aside, FORTRAN is usually a better language than C for heavy
numerical code, which is what "scientific programming"
usually means in my experience. FORTRAN was
designed for that, while C was
designed as an OS implementation language. That
neither is all that great
at the other's task is hardly a surprise.)
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B