Deutsch English Français Italiano |
<vd3e81$4fda$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Pancho <Pancho.Jones@proton.me> Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: The joy of FORTRAN Date: Thu, 26 Sep 2024 11:49:37 +0100 Organization: A noiseless patient Spider Lines: 19 Message-ID: <vd3e81$4fda$2@dont-email.me> References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks> <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> <vcub5c$36h63$1@dont-email.me> <1r0e6u9.1tubjrt1kapeluN%snipeco.2@gmail.com> <vcuib9$37rge$5@dont-email.me> <vcvuhh$3hroa$2@dont-email.me> <llhieuF8ej2U2@mid.individual.net> <vd0uch$3lgc3$9@dont-email.me> <pDVIO.50851$2nv5.43199@fx39.iad> <vd3398$3j9t$1@dont-email.me> <vd3btv$503b$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 26 Sep 2024 12:49:37 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5a4f218e1f906e8daf1e63b8e92e1f98"; logging-data="146858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197/5nXkvWL0uIo86RLLjuKU8c46QMANgk=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:MfY7vJvsQoSx2YdpiCvSG7Preu0= In-Reply-To: <vd3btv$503b$1@dont-email.me> Content-Language: en-GB Bytes: 2287 On 9/26/24 11:10, Lawrence D'Oliveiro wrote: > On Thu, 26 Sep 2024 08:42:32 +0100, Pancho wrote: > >> ... a bitch to work out how to call Vax C from Vax Pascal, or >> vice versa. > > Why would it be that hard? VAX C passed everything by value, while Pascal > let you specify descriptors, references, immediate value ... all the > options. There ware decisions to be made, like what order do you push variables onto the stack, when do you push the return address, how to interpret a Pascal String in C. 40 years on I can't remember what the problems were, just that it took a lot of trial and error. Some of this might be obvious now, some not obvious. Even things like the Pascal string data structure were not obvious to me then, possibly not even mandated in the Pascal Language spec. Now I would guess at string length being the initial two bytes, back then it was all new to me.