comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: More reliable compilers (of some programming langauges) than GNAT
Date: Thu, 23 Nov 2017 09:22:12 +0100
Date: 2017-11-23T09:22:12+01:00	[thread overview]
Message-ID: <ov60fj$mt8$1@gioia.aioe.org> (raw)
In-Reply-To: ov553o$esb$1@franka.jacob-sparre.dk

On 23/11/2017 01:35, Randy Brukardt wrote:

> A "shared library" is not a "basic construct"; indeed, it is not an Ada
> construct at all so of course it has nothing to do with the quality of the
> *Ada* compiler.

Mot of the compiler, rather of the linker.

> Indeed, many Ada compilers don't bother to support "shared
> libraries"

GNAT supports shared libraries, not worse than Visual Studio does.

There is an issue with Windows DLL which must be addressed. When tasks 
are used explicitly or implicitly Ada RTL initialization will hang if 
done from PROCESS_ATTACH.

> as they are a rather useless construct that mainly serves to
> introduce bugs (if the shared library gets updated out of sync with
> the rest of the program).

There is no any alternative to shared libraries.

The problems lie mostly with loaders, linkers, differences in design 
(like having data in the library or not).

The problem of versioning, especially of elaborated interfaces like OO, 
exists no matter how you link your stuff.

Ada with SPARK could provide a huge qualitative step forward here, but 
that would also require total overhaul of existing linkers which are 
really remnants of 70's.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2017-11-23  8:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 15:07 More reliable compilers (of some programming langauges) than GNAT Victor Porton
2017-11-21 15:27 ` AdaMagica
2017-11-21 15:40   ` Victor Porton
2017-11-21 16:07     ` AdaMagica
2017-11-22  1:25       ` Randy Brukardt
2017-11-22  1:40         ` Randy Brukardt
2017-11-22 13:12           ` Victor Porton
2017-11-22 14:15             ` Simon Wright
2017-11-23  0:35             ` Randy Brukardt
2017-11-23  8:22               ` Dmitry A. Kazakov [this message]
2017-11-23 16:14                 ` Pascal Obry
2017-11-23 17:00                   ` Dmitry A. Kazakov
2017-11-28  1:09                 ` Randy Brukardt
2017-11-28  9:24                   ` Dmitry A. Kazakov
2017-11-22  1:19   ` Randy Brukardt
2017-11-22  2:23     ` Paul Rubin
2017-11-22 18:29     ` J-P. Rosen
2017-11-23  2:15     ` Robert Eachus
2017-11-23  3:40       ` Paul Rubin
2017-11-23  8:27         ` Dmitry A. Kazakov
2017-11-21 16:13 ` AdaMagica
2017-11-21 16:17   ` Victor Porton
2017-11-21 17:26     ` Dmitry A. Kazakov
2017-11-23 15:14 ` Robin
replies disabled

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