Nп/п : 21 из 100
 От   : Lynn McGuire                        2:5075/128        30 авг 23 19:36:06
 К    : Gary Scott                                            30 авг 23 03:39:01
 Тема : Re: C++ to Fortran
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> aa77fbe8
@REPLY: 1@dont-email.me> f982035a
@REPLYADDR Lynn McGuire <lynnmcguire5@gmail.com>
@REPLYTO 2:5075/128 Lynn McGuire
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
<5fbb8dcc-d5b9-45a4-9d4f-23caeebc0778n@googlegroups.com> 1@dont-email.me>
<9b605c0b-c8a1-40eb-a73f-428377f906a5n@googlegroups.com> <ee5025c7-3121-4e6d-87a9-f54452f1c145n@googlegroups.com>
<258c15c6-7463-4d80-8326-0016c5a4ff1an@googlegroups.com> 1@dont-email.me>
<401e5a1f-91f2-4075-a910-ee8455b0fd93n@googlegroups.com> 1@dont-email.me>
@TZUTC: -0500
@PID: Mozilla/5.0 (Windows NT 10.0; Win64; x64;
rv:102.0) Gecko/20100101 Thunderbird/102.14.0
@TID: FIDOGATE-5.12-ge4e8b94
On 8/30/2023 2:12 PM, Gary Scott wrote:
> On 8/30/2023 12:13 PM, gah4 wrote:
>> On Tuesday, August 29, 2023 at 6:47:49 PM UTC-7, Gary Scott wrote:
>>
>> (snip, I wrote)
>>
>>>> It is then possible to write OO code in C, though with a little 
>>>> extra work that
>>>> you don`t need to do with C++.
>>
>>> Isn`t a single derived type an "OO" concept? I`m still not a fan of
>>> derived types for procedure arguments (e.g. the win32 API...yuck). I
>>> use the extensively for internal "global/common" purposes though.
>>
>> As well as I know it, derived types are related to structures in some 
>> other
>> languages.  I first knew them in PL/I, where I believe they came from 
>> COBOL.
>>
>> I believe the Fortran standard also uses the word structure, so I 
>> sometimes
>> call them that.
>>
>> I don`t know the history of OO, and especially when the actual term 
>> originated.
>> I do remember someone telling me about Simula sometime before I knew
>> about C, though wasn`t interested at the time.
>> SNIP

> Smalltalk was the more influential.

We used to have an app written in Smalltalk.  C++ and F77 run about 100X 
faster than Smalltalk.  I converted our Smalltalk app to C++ and never 
looked back.

Lynn

 --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх