comp.lang.ada
 help / color / mirror / Atom feed
From: Colin Paul Gloster <Colin_Paul_Gloster@ACM.org>
Subject: Re: another way to shoot yourself in the foot?
Date: Thu, 10 Jul 2008 15:10:38 +0100
Date: 2008-07-10T15:10:38+01:00	[thread overview]
Message-ID: <Pine.WNT.4.64.0807101358050.6656@teor2> (raw)
In-Reply-To: <1ijtbxq.1t7i71w700eykN%nospam@see.signature>

On Wed, 9 Jul 2008, Richard Maine wrote:
|------------------------------------------------------------------------|
|"Colin Paul Gloster <Colin_Paul_Gloster@ACM.org> wrote:                 |
|[a very long post including quite a lot of quotations of me, among      |
|others]                                                                 |
|                                                                        |
|I'm afraid that this post was too long and rambling for me to follow it.|
|I could not detect any coherent message in it, other than perhaps a hint|
|of randomly assembling quotes that sounded negative about Fortran (often|
|out of context, at least for some of mine)."                            |
|------------------------------------------------------------------------|

Dear Richard and everyone else,

I did not intentionally take quotes about Fortran out of
context. If you can spare the time, then please help me to learn
Fortran by explaining my misconceptions.

|------------------------------------------------------------------------|
|" In addition to preferring                                             |
|coherent organization and readability in my coding, I prefer the same in|
|newsgroup postings.                                                     |
|                                                                        |
|If you have some actual message that you are hoping I might respond to, |
|you'll have to state it a bit more coherently and concisely."           |
|------------------------------------------------------------------------|

Please find below a summary of most of that post posed as yes-or-no
questions. I have tried to rephrase
/-----------------------------------------------------------------------/
/"Gary Scott edited out all citations to newsgroup posts from circa 2007/
/which do not promote Fortran. Perhaps posters to                       /
/news:comp.lang.fortran would care to inform me as to whether or not    /
/they are valid..."                                                     /
/-----------------------------------------------------------------------/
"a bit more coherently and concisely."

|------------------------------------------------------------------------|
|" Decoding                                                              |
|that tome doesn't seem worth the work. If the message is just a general |
|language flame, which is perhaps the main flavor I hear, then you need  |
|not bother, as I won't respond, coherent or not."                       |
|------------------------------------------------------------------------|

I had looked at some Fortran newsgroup articles and webpages and code
in 2007, but I have only started in a Fortran project this year. I
have started to read a Fortran book for the first time this week. The
Fortran project which I have joined so far involves replacing Fortran
with C++. This had begun before I have joined. I do not approve of
replacing Fortran with C++. However, if Ada is better than Fortran,
then I approve of replacing Fortran and C++ with Ada. So, please
rectify any misconceptions which I may have. (Later, if Fortran
compilers produce much faster executables, then I may be motivated to
use some Fortran even if I shall still believe then that Ada is a
better language overall.)

I did point out in the long post that Ada is not perfect with respect
to all of these flaws.

If answers differ with respect to different versions of Fortran
(e.g. 77; 90; 95; 2003; 2008; and any others worth considering), then
please elaborate accordingly...

Does Fortran have undefined behavior?

Does Fortran always automatically check if the INTERFACE actually
corresponds to the code?

Does Fortran statically forbid out-of-bounds array accesses at
compilation time?

Does Fortran allow argument mismatch?

Are Fortran 90 modules compatible at the binary level on the same
architecture?

Does Fortran have an exception mechanism?

Are "there are a number of things the Fortran standard leaves
unspecified that it should pin down"?

Does Fortran allow one to declare a type such as
type
The_Resolution_For_Nanoteslas_Supported_By_My_Analog_To_Digital_Converter
is delta 1.0 / 2.0**5 range - 256.0 .. + 256.0 - 1 .0 / 2.0**5;
(that is in Ada syntax, but I am not worried about the syntax: the
feature is important, not how it is expressed)?

Does Fortran guarantee what happens during overflow for signed and
unsigned integers?

Could Fortran 90 allocatables be left in an undefined state?

Does Lahey's implementation of TR 15581 contain a bug which leaks
memory?

Do the Fortran standards require detection of only trivial errors?

Is an optional garbage collector buggy?

In principle FORALL should be good, but Fortran implementations
thereof seem to be bad. Is this due to a flaw in the definition of
Fortran itself?

Does Fortran allow one to use an undefined variable?

Does Fortran allow a default value at the declaration of a variable?

Yours sincerely,
Colin Paul Gloster



  parent reply	other threads:[~2008-07-10 14:10 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20  9:03 another way to shoot yourself in the foot? fedya_fedyakoff
2008-06-20  9:34 ` Dmitry A. Kazakov
2008-06-20  9:48   ` fedya_fedyakoff
2008-06-20 10:01     ` Ludovic Brenta
2008-06-20 10:05 ` christoph.grein
2008-06-20 10:26   ` Dmitry A. Kazakov
2008-06-20 16:12     ` Adam Beneschan
2008-06-20 15:48   ` Adam Beneschan
2008-06-20 19:27   ` Robert A Duff
2008-06-20 23:37     ` Jeffrey R. Carter
2008-06-21  8:56       ` Dmitry A. Kazakov
2008-06-22 20:44         ` Robert A Duff
2008-06-23  7:49           ` Dmitry A. Kazakov
2008-06-24  4:02             ` george.priv
2008-06-24  7:30               ` Dmitry A. Kazakov
2008-06-24 17:16                 ` Robert A Duff
2008-06-24 19:15                   ` Jeffrey R. Carter
2008-06-24 20:31                     ` Robert A Duff
2008-06-24 20:50                       ` Ludovic Brenta
2008-06-24 23:02                         ` Robert A Duff
2008-06-24 23:42                         ` Georg Bauhaus
2008-06-24 21:24                       ` Jeffrey R. Carter
2008-06-24 23:24                         ` Robert A Duff
2008-06-25 15:07                       ` Adam Beneschan
2008-06-24 14:59             ` Adam Beneschan
2008-06-24 16:41               ` Dmitry A. Kazakov
2008-06-24 17:20                 ` Robert A Duff
2008-06-24 17:52                   ` Dmitry A. Kazakov
2008-06-24 23:35                     ` Georg Bauhaus
2008-06-25  8:09                       ` Dmitry A. Kazakov
2008-06-25 10:32                         ` Georg Bauhaus
2008-06-25 12:06                           ` Dmitry A. Kazakov
2008-06-22 20:37       ` Robert A Duff
2008-06-22 21:25         ` Jeffrey R. Carter
2008-07-04 20:52           ` Colin Paul Gloster
2008-07-04 22:15             ` (see below)
2008-07-05 16:06               ` Colin Paul Gloster
2008-07-05 13:38             ` Gary Scott
2008-07-05 16:42               ` Colin Paul Gloster
2008-07-05 19:00                 ` Gary Scott
2008-07-09 19:39                   ` Colin Paul Gloster
2008-07-09 20:35                     ` Richard Maine
2008-07-09 22:49                       ` Terence
2008-07-10  1:07                         ` Gary Scott
2008-07-10 14:10                       ` Colin Paul Gloster [this message]
2008-07-10 14:57                         ` fj
2008-07-10 16:47                           ` Richard Maine
2008-07-10 17:03                         ` Dick Hendrickson
2008-07-10 17:26                           ` Craig Powers
2008-07-10 19:55                             ` James Giles
2008-07-10 20:45                               ` Dick Hendrickson
2008-07-10 21:22                                 ` Richard Maine
2008-07-10 21:29                                   ` Craig Powers
2008-07-10 20:45                               ` Craig Powers
2008-07-10 19:51                           ` James Giles
2008-07-11 15:02                             ` Colin Paul Gloster
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox