Liste des Groupes | Revenir à col misc |
On 26/09/2024 13:43, Lawrence D'Oliveiro wrote:In retrospect, I think the problems in mixing C with other languages came down to this:On Thu, 26 Sep 2024 11:49:37 +0100, Pancho wrote:IIRC, VAX C did not completely follow the standard calling conventions, which created some issues in mixed-language applications.
>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.
All these things were standardized in the VAX/VMS ABI, right from the
beginning.
Les messages affichés proviennent d'usenet.