From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Problems with SPARK 2015 and XMLAda
Date: Mon, 24 Aug 2015 16:32:43 -0500
Date: 2015-08-24T16:32:43-05:00 [thread overview]
Message-ID: <mrg2hr$qtl$1@loke.gir.dk> (raw)
In-Reply-To: alpine.DEB.2.20.1508210948320.23241@debian
<Stefan.Lucks@uni-weimar.de> wrote in message
news:alpine.DEB.2.20.1508210948320.23241@debian...
...
> I doubt this makes any observable difference. The legitimate examples for
> exceptions that "signal things that cannot be known at compile time" (as
> Randy wrote) are usually related to input-output operations.
You really should say "external environment" rather than I/O. Anything that
the target OS (or hardware!) provides is in that category -- environment
variables (what if some other program adds/deletes a variable?), command
lines, memory management (allocating too much memory), clocks, GUI (what if
the user of the program manually closes a window? That can happen at any
time.)
Not all of these things are slow in the sense of external I/O devices. The
difference between exceptions and error codes (particularly as keeping OS
error codes task safe adds an expense) may be more significant.
(But clearly the main issues are readability, locality, and the requirement
to handle them.)
Randy.
prev parent reply other threads:[~2015-08-24 21:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 15:58 Problems with SPARK 2015 and XMLAda Serge Robyns
2015-08-19 20:21 ` Simon Wright
2015-08-19 21:22 ` Serge Robyns
2015-08-20 7:10 ` Jacob Sparre Andersen
2015-08-20 10:06 ` Mark Lorenzen
2015-08-20 16:38 ` Shark8
2015-08-20 18:42 ` Peter Chapin
2015-08-20 19:13 ` Jeffrey R. Carter
2015-08-20 20:00 ` Serge Robyns
2015-08-20 20:36 ` Randy Brukardt
2015-08-20 23:21 ` Shark8
2015-08-21 6:26 ` Stefan.Lucks
2015-08-21 7:30 ` Dmitry A. Kazakov
2015-08-21 8:19 ` Stefan.Lucks
2015-08-21 9:37 ` Dmitry A. Kazakov
2015-08-21 10:09 ` G.B.
2015-08-21 11:56 ` Dmitry A. Kazakov
2015-08-21 13:46 ` G.B.
2015-08-21 14:45 ` brbarkstrom
2015-08-21 15:34 ` Dmitry A. Kazakov
2015-08-21 23:44 ` Bob Duff
2015-08-22 6:22 ` Dmitry A. Kazakov
2015-08-21 10:43 ` Stefan.Lucks
2015-08-21 12:35 ` Dmitry A. Kazakov
2015-08-24 21:32 ` Randy Brukardt [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