Re: “Did nobody stop to think what might happen in an emergency in space?”

Liste des GroupesRevenir à ras written 
Sujet : Re: “Did nobody stop to think what might happen in an emergency in space?”
De : lynnmcguire5 (at) *nospam* gmail.com (Lynn McGuire)
Groupes : rec.arts.sf.written
Date : 02. Sep 2024, 20:51:42
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb550g$2vjs3$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 9/2/2024 9:42 AM, Scott Dorsey wrote:
Michael F. Stemper <michael.stemper@gmail.com> wrote:
I would guess that a straight translation of Fortran to C++ could be
automated. However, there doesn't seem to be any point in it unless
you're going to make use of the object-oriented capabilities of C++.
Then, of course, you're looking at a complete refactoring, which would,
indeed, be non-trivial.
 Bell Labs wrote an f2c converter back in the eighties and it worked okay.
For years it was used as a front end to gcc in order to make the g77
compiler, which worked most of the time for clean fortran 77 code.
It was not wonderful and it was not optimal but it was functional.
 The nice thing about fortran is that there's a lot less to go wrong than
with C++.  Engineers should not be allowed to touch pointers.  Nobody should
ever use null-terminated strings; that was just a bad idea initially.  You
can still goober things up by writing past array bounds and passing
subroutine and function parameters improperly but at least we have some
tools to find these quickly and easily.
 f90 has a lot of very cool matrix functions and operators which make
compilation on a vector machine (like a GPU) easier, and make for much
more readable matrix code too.  I have trouble convincing people to use these
however.
--scott
I have converted F2C into my own F2CPP with quite a few changes for code readability and semi automated usage of std::string.  The fortran reads and writes are a complete disaster so I am rewriting these by hand.  I have converted almost 100K lines of F77 to C++ so far, all working. 750K lines to go.
I would never rewrite our matrix code algorithms which were originally written in F66.  There is too much error trapping and the wisdom /hard experience of many, many, many fixes in it.
Lynn

Date Sujet#  Auteur
23 Aug 24 * “Did nobody stop to think what might happen in an emergency in space?”59Lynn McGuire
24 Aug 24 `* Re: “Did nobody stop to think what might happen in an emergency in space?”58Paul S Person
24 Aug 24  +* Re: “Did nobody stop to think what might happen in an emergency in space?”28Lynn McGuire
24 Aug 24  i`* Re: “Did nobody stop to think what might happen in an emergency in space?”27Michael F. Stemper
25 Aug 24  i `* Re: “Did nobody stop to think what might happen in an emergency in space?”26Lynn McGuire
25 Aug 24  i  `* Re: “Did nobody stop to think what might happen in an emergency in space?”25Paul S Person
26 Aug 24  i   `* Re: “Did nobody stop to think what might happen in an emergency in space?”24Gary R. Schmidt
26 Aug 24  i    +- Re: “Did nobody stop to think what might happen in an emergency in space?”1Paul S Person
27 Aug 24  i    `* Re: “Did nobody stop to think what might happen in an emergency in space?”22Scott Dorsey
27 Aug 24  i     +- Re: “Did nobody stop to think what might happen in an emergency in space?”1James Nicoll
27 Aug 24  i     +* Re: “Did nobody stop to think what might happen in an emergency in space?”19Graham
28 Aug 24  i     i`* Re: “Did nobody stop to think what might happen in an emergency in space?”18Titus G
28 Aug 24  i     i `* Re: “Did nobody stop to think what might happen in an emergency in space?”17Graham
29 Aug 24  i     i  `* Re: “Did nobody stop to think what might happen in an emergency in space?” (was: “Did nobody stop to think what might happen in an emergency in space?”)16Jaimie Vandenbergh
30 Aug 24  i     i   `* Re: “Did nobody stop to think what might happen in an emergency in space?”15Lynn McGuire
30 Aug 24  i     i    `* Re: “Did nobody stop to think what might happen in an emergency in space?”14D
2 Sep 24  i     i     +* Re: “Did nobody stop to think what might happen in an emergency in space?”11Lynn McGuire
2 Sep 24  i     i     i+- Re: “Did nobody stop to think what might happen in an emergency in space?”1D
2 Sep 24  i     i     i`* Re: “Did nobody stop to think what might happen in an emergency in space?”9Michael F. Stemper
2 Sep 24  i     i     i +* Re: “Did nobody stop to think what might happen in an emergency in space?”2Scott Dorsey
2 Sep 24  i     i     i i`- Re: “Did nobody stop to think what might happen in an emergency in space?”1Lynn McGuire
2 Sep 24  i     i     i +* Re: “Did nobody stop to think what might happen in an emergency in space?”2Paul S Person
2 Sep 24  i     i     i i`- Re: “Did nobody stop to think what might happen in an emergency in space?”1Lynn McGuire
3 Sep 24  i     i     i +* Re: “Did nobody stop to think what might happen in an emergency in space?”2vallor
3 Sep 24  i     i     i i`- Re: “Did nobody stop to think what might happen in an emergency in space?”1Lynn McGuire
3 Sep 24  i     i     i `* Re: Did nobody stop to think what might happen in an emergency in space?2Mad Hamish
3 Sep 24  i     i     i  `- Re: Did nobody stop to think what might happen in an emergency in space?1Lynn McGuire
2 Sep 24  i     i     `* Re: “Did nobody stop to think what might happen in an emergency in space?”2Lynn McGuire
2 Sep 24  i     i      `- Re: “Did nobody stop to think what might happen in an emergency in space?”1D
27 Aug 24  i     `- Re: “Did nobody stop to think what might happen in an emergency in space?”1William Hyde
25 Aug 24  `* Re: “Did nobody stop to think what might happen in an emergency in space?”29Scott Dorsey
25 Aug 24   +* Re: “Did nobody stop to think what might happen in an emergency in space?”4Cryptoengineer
25 Aug 24   i`* Re: “Did nobody stop to think what might happen in an emergency in space?”3ted@loft.tnolan.com (Ted Nolan
25 Aug 24   i `* Re: “Did nobody stop to think what might happen in an emergency in space?”2Cryptoengineer
25 Aug 24   i  `- Re: “Did nobody stop to think what might happen in an emergency in space?”1ted@loft.tnolan.com (Ted Nolan
26 Aug 24   `* Re: “Did nobody stop to think what might happen in an emergency in space?”24Paul S Person
26 Aug 24    +* Re: “Did nobody stop to think what might happen in an emergency in space?”16Lynn McGuire
26 Aug 24    i+- Re: “Did nobody stop to think what might happen in an emergency in space?”1William Hyde
26 Aug 24    i`* Re: “Did nobody stop to think what might happen in an emergency in space?”14Cryptoengineer
26 Aug 24    i +* Re: “Did nobody stop to think what might happen in an emergency in space?”6Lynn McGuire
27 Aug 24    i i`* Re: “Did nobody stop to think what might happen in an emergency in space?”5Lynn McGuire
27 Aug 24    i i +- Re: “Did nobody stop to think what might happen in an emergency in space?”1Cryptoengineer
27 Aug 24    i i `* Re: “Did nobody stop to think what might happen in an emergency in space?”3Paul S Person
28 Aug 24    i i  `* Re: “Did nobody stop to think what might happen in an emergency in space?”2Kevrob
29 Aug 24    i i   `- Re: “Did nobody stop to think what might happen in an emergency in space?”1Paul S Person
27 Aug 24    i `* Re: “Did nobody stop to think what might happen in an emergency in space?”7Paul S Person
28 Aug 24    i  +* Re: “Did nobody stop to think what might happen in an emergency in space?”5Robert Carnegie
28 Aug 24    i  i`* Re: “Did nobody stop to think what might happen in an emergency in space?”4Paul S Person
28 Aug 24    i  i `* Re: “Did nobody stop to think what might happen in an emergency in space?”3Cryptoengineer
29 Aug 24    i  i  `* Re: “Did nobody stop to think what might happen in an emergency in space?”2Paul S Person
29 Aug 24    i  i   `- Re: “Did nobody stop to think what might happen in an emergency in space?”1Cryptoengineer
3 Sep 24    i  `- Re: Did nobody stop to think what might happen in an emergency in space?1Mad Hamish
27 Aug 24    `* Re: “Did nobody stop to think what might happen in an emergency in space?”7Paul S Person
28 Aug 24     `* Re: “Did nobody stop to think what might happen in an emergency in space?”6Cryptoengineer
28 Aug 24      `* Re: “Did nobody stop to think what might happen in an emergency in space?”5Torbjorn Lindgren
28 Aug 24       +- Re: “Did nobody stop to think what might happen in an emergency in space?”1Cryptoengineer
28 Aug 24       `* Re: “Did nobody stop to think what might happen in an emergency in space?”3Lynn McGuire
29 Aug 24        `* Re: “Did nobody stop to think what might happen in an emergency in space?”2Torbjorn Lindgren
30 Aug 24         `- Re: “Did nobody stop to think what might happen in an emergency in space?”1Scott Dorsey

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal