comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Interfacing with C ; an ununsed fields dilemma
Date: Fri, 3 Jul 2009 00:21:52 -0700 (PDT)
Date: 2009-07-03T00:21:52-07:00	[thread overview]
Message-ID: <d2ffa66c-6451-4178-9a9f-3bdfc88ac041@r33g2000yqn.googlegroups.com> (raw)
In-Reply-To: b0405788-3a2e-4f75-af79-1512cf1f9673@y7g2000yqa.googlegroups.com

On 3 Lip, 01:21, Hibou57 (Yannick Duchêne) <yannick_duch...@yahoo.fr>
wrote:

> Not religiously, just beceause I think this would be more difficult.

Yes.

> May be I'm wrong, but it seems to me that there is not real standard
> ABI for C++ (for the comment in passing)

That's why writing a sanitizing thin layer in C is a way to go. There
is no need to standardize every corner of all languages, it is enough
to standardize their "common denominators".

Note also that ABI is only part of the problem, so solving it would
not be enough. Other important problems are in name overloading,
templates and exceptions. It is not even clear if standardizing these
at the bit level would be beneficial, because having some
implementation freedom in there ensures a competition opportunity for
compiler writers.
This is exactly the same in Ada, by the way.

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

Database Access Library for Ada: www.inspirel.com/soci-ada



  reply	other threads:[~2009-07-03  7:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02  6:20 Interfacing with C ; an ununsed fields dilemma Hibou57 (Yannick Duchêne)
2009-07-02  9:25 ` Martin
2009-07-02 18:14   ` reserved fields; was " tmoran
2009-07-02  9:45 ` Maciej Sobczak
2009-07-02 12:01   ` Hibou57 (Yannick Duchêne)
2009-07-02 12:09     ` Georg Bauhaus
2009-07-02 13:21       ` Hibou57 (Yannick Duchêne)
2009-07-02 15:50         ` Georg Bauhaus
2009-07-02 14:52     ` Maciej Sobczak
2009-07-02 23:21       ` Hibou57 (Yannick Duchêne)
2009-07-03  7:21         ` Maciej Sobczak [this message]
2009-07-02  9:51 ` Georg Bauhaus
2009-07-02 10:16   ` Martin
2009-07-02 11:48     ` Hibou57 (Yannick Duchêne)
2009-07-02 15:55 ` Robert A Duff
2009-07-04  0:03   ` Randy Brukardt
2009-07-03  6:59 ` anon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox