[Info-vax] Viable versus ideal programming languages

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Wed Mar 23 14:37:53 EDT 2022


On 2022-03-22, Bill Gunshannon <bill.gunshannon at gmail.com> wrote:
> On 3/22/22 14:38, Simon Clubley wrote:
>> 
>> BTW #2, you can only easily call C++ code from a non-C++ program by
>> providing a C interface in the C++ library so you are back to using
>> C as an interface language even with C++...
>
> Once again, languages don't define calling sequences, compilers do.
>

Even ignoring the other issues, the nature of C++ means that name
mangling is a real problem if you try to directly call C++ code from
a non-C++ language.

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.



More information about the Info-vax mailing list