comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: An Ada Advice Inquiry
Date: 8 May 2007 01:32:07 -0700
Date: 2007-05-08T01:32:07-07:00	[thread overview]
Message-ID: <1178613127.834322.100580@p77g2000hsh.googlegroups.com> (raw)
In-Reply-To: <46401a78$1@news.post.ch>

On 8 Maj, 08:36, Martin Krischik <krisc...@users.sourceforge.net>
wrote:

> >> And still AFAIK there is still only
> >> one C++ compiler to support "export".
>
> > We've been through this already.
> > Short version: nobody uses "export" so nobody cares whether it's
> > supported or not. It looks that this subject is occupying the C++
> > enemies much more than the actual users of the language. Interesting,
> > isn't it?
>
> But isn't that a catch 22 - no one supports it because not one uses it
> because no one supports it. And there is no pressure to change because
> users don't know what they are missing.

Not really. There were high expectations at the beginning, because
people believed that "export" will allow them to hide (I mean -
literally, in terms of IP protection, not in terms of code structure)
implementation details of their template code. Without "export" the
library vendors have to ship all template code in open text, which
drives some of the managers crazy. After a couple of years, though, it
became clear that "export" does not guarantee this level of
protection, so today the motivation for having this feature is much
smaller.
That's why it's not true that people don't know what they are missing.

People learned to use templates without "export" and those who are
wary of code structure decouple the specification from implementation
with the crude use #include. It works just fine, thank you. It's not
perfect, but solving it doesn't provide any earth shaking benefits.
Note that in Ada (GNAT) the generic body needs to be available in
source form everywhere where it is instantiated.

Most importantly, implementing "export" is expensive (why do you think
only one vendor took the challenge) and there are bigger fishes to fry
- it's much better if vendors spend their cycles implementing some
other, really wanted functionality.

> I am not in favour of export because I am a C++ enemy.

You are not in favour or you are not an enemy? ;-)

Show me a short example of code that shows the benefits.

--
Maciej Sobczak
http://www.msobczak.com/




      reply	other threads:[~2007-05-08  8:32 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04  3:01 An Ada Advice Inquiry adaworks
2007-05-04  2:23 ` ezkcdude
2007-05-04  4:15 ` tmoran
2007-05-04  5:47   ` Randy Brukardt
2007-05-04  8:47     ` roderick.chapman
2007-05-04 12:17       ` adaworks
2007-05-05  2:35         ` Fionn Mac Cumhaill
2007-05-06 10:50           ` Maciej Sobczak
2007-05-04 14:14       ` Sloan.Kohler
2007-05-04 12:16     ` adaworks
2007-05-04  4:57 ` Jeffrey R. Carter
2007-05-04  8:04 ` Maciej Sobczak
2007-05-04  8:40   ` Dmitry A. Kazakov
2007-05-04  9:08 ` Ludovic Brenta
2007-05-04 10:05   ` AW: " Grein, Christoph (Fa. ESG)
2007-05-04 11:41     ` Ludovic Brenta
2007-05-04 12:21     ` adaworks
2007-05-04 11:53       ` AW: " Grein, Christoph (Fa. ESG)
2007-05-04 12:18   ` adaworks
2007-05-04  9:22 ` Markus E Leypold
2007-05-05  5:55   ` adaworks
2007-05-06 16:21     ` Markus E Leypold
2007-05-04  9:52 ` xavier
2007-05-04 12:19   ` Maciej Sobczak
2007-05-04 12:19   ` adaworks
2007-05-04 13:59 ` Stephen Leake
2007-05-04 16:31   ` adaworks
2007-05-04 18:30     ` Pascal Obry
2007-05-04 19:10       ` Michael Bode
2007-05-04 19:22         ` Ed Falis
2007-05-04 20:22           ` Michael Bode
2007-05-04 20:51             ` Markus E Leypold
2007-05-04 21:57             ` Ed Falis
2007-05-04 22:24               ` Markus E Leypold
2007-05-05  9:59               ` Michael Bode
2007-05-05 11:37                 ` Markus E Leypold
2007-05-05 11:51                 ` Georg Bauhaus
2007-05-05 12:13                   ` Markus E Leypold
2007-05-05 12:30                   ` Michael Bode
2007-05-07  9:40                     ` Georg Bauhaus
2007-05-07 18:17                       ` Michael Bode
2007-05-07 19:39                         ` Georg Bauhaus
2007-05-04 20:03         ` Jeffrey Creem
2007-05-04 20:36           ` Michael Bode
2007-05-04 20:55           ` Markus E Leypold
2007-05-05 12:41             ` Jeffrey Creem
2007-05-05 13:24               ` Ed Falis
2007-05-05 13:31                 ` Ludovic Brenta
2007-05-05 13:40                   ` Michael Bode
2007-05-05 13:59                     ` Ludovic Brenta
2007-05-05 14:39                       ` Michael Bode
2007-05-05 14:04                   ` Ed Falis
2007-05-05 14:17                     ` Markus E Leypold
2007-05-05 14:13                 ` Markus E Leypold
2007-05-05 14:16                   ` Ed Falis
2007-05-05 14:07               ` Markus E Leypold
2007-05-04 21:16         ` adaworks
2007-05-05 23:47         ` Stephen Leake
2007-05-06 10:19           ` Michael Bode
2007-05-06 13:31           ` GNAT Professional machine code listings (was: An Ada Advice Inquiry) Larry Kilgallen
2007-05-06 14:50             ` GNAT Professional machine code listings Simon Wright
2007-05-06 15:26             ` GNAT Professional machine code listings (was: An Ada Advice Inquiry) adaworks
2007-05-04 19:59     ` An Ada Advice Inquiry Jeffrey Creem
2007-05-04 21:37       ` adaworks
2007-05-05 12:27       ` John McCormick
2007-05-05 12:45         ` Ludovic Brenta
2007-05-05 23:44     ` Stephen Leake
2007-05-06  5:00       ` adaworks
2007-05-06 10:47         ` Maciej Sobczak
2007-05-06 12:18           ` Dmitry A. Kazakov
2007-05-06 13:49             ` Pascal Obry
2007-05-06 15:47           ` adaworks
2007-05-06 15:20             ` Pascal Obry
2007-05-06 18:12               ` adaworks
2007-05-06 19:38             ` Maciej Sobczak
2007-05-07  7:07               ` Martin Krischik
2007-05-07  8:50                 ` Maciej Sobczak
2007-05-07  9:40                   ` Dmitry A. Kazakov
2007-05-07 13:00                     ` Maciej Sobczak
2007-05-07 13:58                       ` Dmitry A. Kazakov
2007-05-07 21:07                         ` Maciej Sobczak
2007-05-08  7:27                           ` Dmitry A. Kazakov
2007-05-07 16:12                       ` Martin Krischik
2007-05-07 18:38                         ` Markus E Leypold
2007-05-07 21:26                         ` Maciej Sobczak
2007-05-08  2:42                           ` Justin Gombos
2007-05-08  8:15                             ` Maciej Sobczak
2007-05-09  0:19                               ` Justin Gombos
2007-05-09  2:05                                 ` Robert A Duff
2007-05-08 10:50                             ` Markus E Leypold
2007-05-08 15:53                             ` Robert A Duff
2007-05-08 18:03                               ` Ludovic Brenta
2007-05-09  2:23                                 ` Robert A Duff
2007-05-08  6:36                           ` Martin Krischik
2007-05-08  8:32                             ` Maciej Sobczak [this message]
replies disabled

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