Deutsch   English   Français   Italiano  
<vb6ci0$38k2j$3@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups: rec.arts.sf.written
Subject: =?UTF-8?Q?Re=3A_=E2=80=9CDid_nobody_stop_to_think_what_might_happen?=
 =?UTF-8?Q?_in_an_emergency_in_space=3F=E2=80=9D?=
Date: Tue, 3 Sep 2024 02:06:39 -0500
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <vb6ci0$38k2j$3@dont-email.me>
References: <vaaphl$11duc$1@dont-email.me> <vak8m0$2ugre$1@dont-email.me>
 <vamav9$3bm9e$1@dont-email.me> <van301$3f8s4$1@dont-email.me>
 <ljbkbcFept2U1@mid.individual.net> <vat2sv$jl6q$2@dont-email.me>
 <3b91eadf-cd9d-ea46-fcdf-10a0898c3218@example.net>
 <vb350r$1pc93$1@dont-email.me> <vb4coc$2rg60$2@dont-email.me>
 <vb5ocm$1jjc0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 03 Sep 2024 09:06:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3e9d27d6296983be4b00b327ce81093e";
	logging-data="3428435"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18Xv7/f/XJuFbcRYpzvgCO4Y3GH/YGDGi0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Cx/mh4z96f7VARSU3qJnaPhgWXk=
In-Reply-To: <vb5ocm$1jjc0$1@dont-email.me>
Content-Language: en-US
Bytes: 3444

On 9/2/2024 8:22 PM, vallor wrote:
> On Mon, 2 Sep 2024 07:57:48 -0500, "Michael F. Stemper"
> <michael.stemper@gmail.com> wrote in <vb4coc$2rg60$2@dont-email.me>:
> 
>> On 01/09/2024 20.39, Lynn McGuire wrote:
>>> On 8/30/2024 4:38 PM, D wrote:
>>>>
>>>>
>>>> On Fri, 30 Aug 2024, Lynn McGuire wrote:
>>>>
>>>>> On 8/29/2024 11:01 AM, Jaimie Vandenbergh wrote:
>>>>>> On 28 Aug 2024 at 12:51:29 BST, "Graham" <zotzlists@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> On 28/08/2024 06:01, Titus G wrote:
>>>>>>>> On 27/08/24 22:10, Graham wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>> 1234567890 2234567890 3234567890 4234567890 5234567890 6234567890
>>>>>>>> 7234567890 8234567890
>>>>>>>>
>>>>>>>> I'll take the bait. Please explain your signature.
>>>>>>>
>>>>>>> Nothing exciting, I'm afraid. 80 characters.
>>>>>>
>>>>>> Should be 72, Shirley?
>>>>>>
>>>>>>       Cheers - Jaime
>>>>>
>>>>> I have written a quarter of a million (SWAG) lines of Fortran in my
>>>>> lifetime. If I never write another line I will be happy.  But I will
>>>>> write more Fortran next Tuesday.  Converting it all to C++ cannot
>>>>> come soon enough.
>>>>>
>>>>> Lynn
>>>>>
>>>>>
>>>> Ahh... but isn't it true that C++ is only for nerds? All the cool kids
>>>> write rust these days!
>>>
>>> Converting Fortran or C++ to Rust is non trivial.  I have actually
>>> considered it.  Shoot, converting Fortran to C++ is non trivial.
>>
>> 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.
> 
> f2c(1) can convert to C++.
> 
> However, I suspect it isn't that easy to end up with working code.

The original conversion of F2C to C++ is even worse than its conversion 
to C code.  Readability is one of my goals here.

Lynn