comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: More reliable compilers (of some programming langauges) than GNAT
Date: Mon, 27 Nov 2017 19:09:29 -0600
Date: 2017-11-27T19:09:29-06:00	[thread overview]
Message-ID: <ovid09$e55$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: ov60fj$mt8$1@gioia.aioe.org

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message 
news:ov60fj$mt8$1@gioia.aioe.org...
> On 23/11/2017 01:35, Randy Brukardt wrote:
...
>> 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.

Of course there is: write your code to use nothing but the target OS 
facilities and Ada. (Yes, I know that Windows uses shared libraries to 
implement the OS interface, but that's not visible to a statically linked 
program.) That was always the requirement at RRS, and any time that we've 
deviated from it we've generally come to regret it.

Statically linked programs are not going to fail because of some upgrade 
outside of botched OS upgrades (which are much less likely than other kinds, 
because most OS vendors are well aware of the havoc that they can cause).

The supposed reasons for using shared libraries rarely hold any water (there 
aren't going to be dozens of nearly identical Ada programs running on a 
single machine at a single time).

                                         Randy.


  parent reply	other threads:[~2017-11-28  1:09 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
2017-11-23 16:14                 ` Pascal Obry
2017-11-23 17:00                   ` Dmitry A. Kazakov
2017-11-28  1:09                 ` Randy Brukardt [this message]
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