comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@futureapps.invalid>
Subject: Re: Everything You Know Is Wrong
Date: Tue, 29 Dec 2015 14:50:35 +0100
Date: 2015-12-29T14:50:35+01:00	[thread overview]
Message-ID: <n5u2uf$nrc$1@dont-email.me> (raw)
In-Reply-To: <n5tuo8$1cn$1@speranza.aioe.org>

On 29.12.15 13:36, Dmitry A. Kazakov wrote:
> On 2015-12-29 12:42, G.B. wrote:
>
>> The hardware people do a lot to reduce energy needs.  The software
>> people could add to that.
>
> I don't think so. Software is too costly and too volatile. Any potential
> win is negligible and will be overtaken by new hardware in just one year.

The managers of the billion $ computer companies have been
addressing battery related running times for years already. Suppose
that a compiler optimizes a program for energy consumption. So, no
big batteries are needed. If the sales people can therefore make the
designers design a thinner device or a device that runs longer
before recharging is needed, then that makes optimizing for energy
consumption a sales argument that will affect production.

>> For example, if two subprograms are independent
>> and their execution can be postponed until a third one needs their
>> results,
>
> Firstly, you cannot know that.

Independence of subprograms can follow from an abstract design
and from a solution, both of which the programmers know. A compiler
may not know it generally if there is no language for it.
(No "with" of one by the other, and no dependence on anything
with "Address" in it, or "Import", or I/O, ....)

SPARK will allow full formalization, I think.


> Secondly, this is a classic abstraction
> inversion example. Subprograms are result of software decomposition,
> which is driven by the problem.

If problem driven decomposition happens to give independent
subprograms, why not have optimization make good use of the
opportunity? As "optimization" indicates, the corresponding
compiler switch would not normally drive designs.



  reply	other threads:[~2015-12-29 13:50 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27  0:37 Everything You Know Is Wrong Jeffrey R. Carter
2015-12-27  7:55 ` J-P. Rosen
2015-12-27 17:37   ` Jeffrey R. Carter
2015-12-27  8:46 ` Dmitry A. Kazakov
2015-12-27 17:36   ` Jeffrey R. Carter
2016-01-04 14:44     ` Alejandro R. Mosteo
2015-12-28  9:57 ` Georg Bauhaus
2015-12-28 11:19   ` Dmitry A. Kazakov
2015-12-28 16:27     ` Nicholas Collin Paul de Gloucester
2015-12-28 17:30       ` Dmitry A. Kazakov
2015-12-28 18:50         ` Nicholas Collin Paul de Gloucester
2015-12-28 20:40           ` Dmitry A. Kazakov
2015-12-29 11:42             ` G.B.
2015-12-29 12:36               ` Dmitry A. Kazakov
2015-12-29 13:50                 ` G.B. [this message]
2015-12-29 14:06                   ` J-P. Rosen
2015-12-29 14:16                   ` Dmitry A. Kazakov
2015-12-29 16:31                     ` Dennis Lee Bieber
2015-12-29 17:02                       ` G.B.
2015-12-29 16:57                     ` G.B.
2015-12-29 17:36                       ` Dmitry A. Kazakov
2015-12-29 17:53                         ` G.B.
2015-12-29 18:09                           ` G.B.
2015-12-29 22:05                           ` Randy Brukardt
2016-01-04 14:51                           ` Alejandro R. Mosteo
2015-12-29 21:58                         ` Randy Brukardt
2015-12-28 17:19 ` Nicholas Collin Paul de Gloucester
2015-12-29 23:37 ` darkestkhan
2016-01-05 13:52 ` brbarkstrom
2016-01-10 14:46 ` Michael Erdmann
2016-02-29 12:14 ` Jacob Sparre Andersen
2016-03-02 14:11   ` vincent.diemunsch
2016-03-02 14:23     ` J-P. Rosen
2016-03-02 15:44       ` Bob Brown
2016-03-02 16:30         ` J-P. Rosen
2016-03-02 16:36           ` Bob Brown
2016-03-02 16:52             ` Bob Brown
2016-03-02 14:32     ` Dmitry A. Kazakov
2016-03-02 15:31       ` vincent.diemunsch
2016-02-29 12:27 ` Jacob Sparre Andersen
replies disabled

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