comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Extending a third party tagged type while adding finalization
Date: Tue, 12 Dec 2017 08:11:59 -0800 (PST)
Date: 2017-12-12T08:11:59-08:00	[thread overview]
Message-ID: <9cd54776-db55-48ca-a196-8168974e8a88@googlegroups.com> (raw)
In-Reply-To: <p0n1jp$sc4$1@franka.jacob-sparre.dk>

Am Montag, 11. Dezember 2017 23:42:03 UTC+1 schrieb Randy Brukardt:
> And no one else seems to be reading this...

That's not true, I'm following with awe your endless discussions (not only this one) which never lead to a conclusion. I often have problems following Dmitry's posts when he uses non-Ada terms or Ada terms with another meaning.

Now for ADTs.

I'm thinking of the millions lines of code embedded helicopter code that I rehosted for a flight simulator. (Btw - only very few lines of code had to be touched because of hardware dependence, mostly little vs. big endian, and because of compiler dependence, all ill-used Ada code).

How could the main subprogram have been an ADT? It was an infinite loop running with 20 ms cycle time of which it could use only 5 ms, reading and handling the different simulator states (there were many: init, running, freeze, repositioning, snapshot reload etc.) manipulated by the flight instructor.

External power supply (starting avionics elaboration and tasks, terminating and restarting with power loss) was an ADT, but to my dismay developed into chaos because of the many different simulator states.

Another ADT was the tasking management (Ada's preemptive scheduling had to be adapted to the above 5 ms and 15 ms sleeping with only faint intrusion into the original tasks). This indeed was a very nice small ADT I'm still fond of.

There were a lot of other ADTs and non-ADTs. So I'm more on Randy's side.


  reply	other threads:[~2017-12-12 16:11 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 12:43 Extending a third party tagged type while adding finalization Jere
2017-11-22 16:42 ` AdaMagica
2017-11-26 17:33   ` Jere
2017-11-26 18:15     ` Dmitry A. Kazakov
2017-11-26 19:31       ` Jere
2017-11-27  9:46     ` AdaMagica
2017-11-27 12:56       ` Jere
2017-11-27 15:00         ` AdaMagica
2017-11-27 16:38           ` Jere
2017-11-27 18:37             ` AdaMagica
2017-11-27 19:53               ` Jere
2017-11-28 11:48                 ` AdaMagica
2017-12-03  2:22                   ` Jere
2017-12-03 21:53               ` Robert Eachus
2017-12-04  7:58                 ` Dmitry A. Kazakov
2017-12-04 14:59                   ` Robert Eachus
2017-12-04 15:39                     ` Dmitry A. Kazakov
2017-11-27 18:10     ` Shark8
2017-11-27 19:56       ` Jere
2017-11-28  1:55       ` Randy Brukardt
2017-12-03  2:47         ` Jere
2017-12-03  9:29           ` Dmitry A. Kazakov
2017-12-03 15:10             ` AdaMagica
2017-12-03 16:39               ` Dmitry A. Kazakov
2017-12-03 19:34             ` AdaMagica
2017-12-03 19:41               ` Dmitry A. Kazakov
2017-12-04 12:38                 ` AdaMagica
2017-12-04 13:19                   ` AdaMagica
2017-12-04 13:55                     ` Dmitry A. Kazakov
2017-12-04 15:44                       ` AdaMagica
2017-12-04 16:19                         ` Dmitry A. Kazakov
2017-12-04 20:54           ` Randy Brukardt
2017-12-04 21:02             ` Dmitry A. Kazakov
2017-12-05 21:09               ` Randy Brukardt
2017-12-05 21:29                 ` Dmitry A. Kazakov
2017-12-07  1:13                   ` Randy Brukardt
2017-12-07  8:36                     ` Dmitry A. Kazakov
2017-12-07 23:22                       ` Randy Brukardt
2017-12-08  9:30                         ` Dmitry A. Kazakov
2017-12-09  0:17                           ` Randy Brukardt
2017-12-11  9:03                             ` Dmitry A. Kazakov
2017-12-11 22:42                               ` Randy Brukardt
2017-12-12 16:11                                 ` AdaMagica [this message]
2017-12-12 20:08                               ` G. B.
2017-12-12 20:32                                 ` Dmitry A. Kazakov
replies disabled

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