Article View: comp.std.c++
Article #2160Re: Initialization by non-C++ main() routine
From: John Max Skaller
Date: Tue, 10 Oct 1995 08:15
Date: Tue, 10 Oct 1995 08:15
37 lines
2189 bytes
2189 bytes
jcwray@ix.netcom.com (John Wray ) wrote: > >On many platforms, there is a de-facto calling standard that many >language processors can generate calls to, allowing libraries to be >be implemented in one language, and called from others. Often >(although not always Indeed, MS-Windows uses "Pascal" calling conventions. ) this standard is the native "C" calling mechanism on the >platform, but almost always it is possible to use C to create > libraries that obey the standard, such that they can be invoked >by languages other than C. It would be really nice > if C++ could be used in the >same way, to produce language-neutral libraries. >I was wondering if there's any likelihood of a fix for this situation >getting into the standard? Not the ISO Standard. No chance. There are however various industry standards for this, such as IBM SOM and Sun ABI. The most ambitious is not really what you asked for but something much better -- CORBA, which provides for network based object access. -- John Max Skaller voice: 61-2-566-2189 81 Glebe Point Rd fax: 61-2-660-0850 GLEBE NSW 2037 email: maxtal@suphys.physics.oz.au AUSTRALIA email: skaller@maxtal.com.au --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<45cplq$sd@oznet03.ozemail.com.au>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<4522t4$hta@ixnews3.ix.netcom.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 10 Oct 95 08:15:24 GMT Approved: fjh@cs.mu.oz.au From: John Max Skaller <maxtal@suphys.physics.su.oz.au> Newsgroups: comp.std.c++ Subject: Re: Initialization by non-C++ main() routine X-Original-Date: 10 Oct 1995 03:35:22 GMT Organization: MAXTAL Message-ID: <45cplq$sd@oznet03.ozemail.com.au> References: <4522t4$hta@ixnews3.ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.2N (Windows; I; 16bit) X-Auth: PGPMoose V1.0 PGP comp.std.c++ iQBFAgUBMHorreEDnX0m9pzZAQGzYQGAmyB0pIhXfzIbzsdS8hamUSsJTlkODpxt owYTBREg6vt3N4DazMDwHojwzalsB7A8 =5g+K