comp.lang.ada
 help / color / mirror / Atom feed
From: mjsilva@scriptoriumdesigns.com
Subject: Re: Help with embedded hardware/software platform selection for ADA
Date: Tue, 2 Jul 2013 18:01:44 -0700 (PDT)
Date: 2013-07-02T18:01:44-07:00	[thread overview]
Message-ID: <af581cf5-d5a2-4216-80da-5021fd02b6e1@googlegroups.com> (raw)
In-Reply-To: <kqvl9l$etj$1@loke.gir.dk>

On Tuesday, July 2, 2013 3:47:17 PM UTC-7, Randy Brukardt wrote:
> <mjsilva@scriptoriumdesigns.com> wrote in message 
> 
> news:d39ad66d-63a3-43e8-a8ae-3c799c12512e@googlegroups.com...
> 
> ...
> 
> >> Why a hobbyist would even look at Ravenscar?
> 
> >>
> 
> >Because it provides the simple multitasking that a great many projects can 
> 
> >benefit from.
> 
> 
> 
> That's true only if you think hobbyists want a lot a frustration. That's 
> 
> because Ravenscar makes it impossible to build resilient systems - the lack 
> 
> of a entry call with timeout means that any error or failure will cause a 
> 
> deadlock. If you are going to use fancy proof tools to *prove* that there 
> 
> are no errors or deadlock possibilities, then this is OK (and that's what 
> 
> Ravenscar is for), but hobbyists are unlikely to have access to such tools. 
> 
> (Heck, *I* have no access to such tools - I'm not even sure if they really 
> 
> exist.)
> 
> 
> 
> Even if you don't have a sensible recovery action, the timeout can raise an 
> 
> exception pinpointing where the deadlock happened -- which greatly eases 
> 
> debugging. (I don't think Claw would have been usable without that, as it is 
> 
> way too easy to unintentially cause a deadlock by doing the wrong thing in 
> 
> an action handler.)
> 
> 
> 
> So, IMHO (and much like SPARK), Ravenscar is a tool needed only in very 
> 
> specialized circumstances (typically, some sort of certification 
> 
> requirement). Otherwise, one ought to forget about it and use Ada as it was 
> 
> intended.

Interesting point.  I understood the "why Ravenscar" to mean "why any tasking, even if limited?" which may have been a misunderstanding on my part.  Of course I'd like to get as much Ada tasking on bare metal as possible, but I'd willing to give up having the whole package to get something useable that will fit on smaller hardware.  I'd be willing to settle for some tasking sweet spot as regards code size vs tasking features.  That was the point of my reply.  

  parent reply	other threads:[~2013-07-03  1:01 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 15:39 Help with embedded hardware/software platform selection for ADA Max Herman
2013-06-14 17:05 ` Dmitry A. Kazakov
2013-06-17 15:51   ` Max Herman
2013-06-17 17:12     ` Dmitry A. Kazakov
2013-06-14 17:45 ` G.B.
2013-06-14 20:52   ` Simon Wright
2013-06-14 20:16 ` RasikaSrinivasan
2013-06-14 20:51   ` Simon Wright
2013-06-17 16:00   ` Max Herman
2013-06-17  0:38 ` Luke A. Guest
2013-06-17 16:05   ` Max Herman
2013-07-04 16:13     ` Lucretia
2013-06-17  6:55 ` Help with embedded hardware/software platform selection for Ada Jacob Sparre Andersen
2013-06-17 16:15   ` Max Herman
2013-06-26 23:58   ` Luke A. Guest
2013-06-17 21:46 ` Help with embedded hardware/software platform selection for ADA Marcus F
2013-07-01 18:45   ` mjsilva
2013-07-01 19:32     ` Dmitry A. Kazakov
2013-07-01 23:35       ` Simon Clubley
2013-07-02  7:27         ` Georg Bauhaus
2013-07-02  8:46           ` Dmitry A. Kazakov
2013-07-02  9:09             ` Georg Bauhaus
2013-07-02 14:50               ` Shark8
2013-07-02 15:08             ` mjsilva
2013-07-02 16:53               ` Robert A Duff
2013-07-02 22:47               ` Randy Brukardt
2013-07-03  0:22                 ` Luke A. Guest
2013-07-03 19:13                   ` Randy Brukardt
2013-07-03 19:19                     ` Randy Brukardt
2013-07-03 20:50                       ` Georg Bauhaus
2013-07-08 12:53                         ` Eryndlia Mavourneen
2013-07-03 21:29                       ` Luke A. Guest
2013-07-03 22:02                       ` Niklas Holsti
2013-07-04 16:02                     ` Luke A. Guest
2013-07-05 21:08                       ` Randy Brukardt
2013-07-03  1:01                 ` mjsilva [this message]
2013-07-03  2:41                   ` Luke A. Guest
2013-07-03  7:17                     ` Shark8
2013-07-02 16:52             ` Simon Clubley
2013-07-02 17:27               ` Dmitry A. Kazakov
2013-07-02 19:29                 ` Simon Clubley
2013-07-02 20:21                   ` Dmitry A. Kazakov
2013-07-03 12:08                     ` Simon Clubley
2013-07-03 12:47                       ` Dmitry A. Kazakov
2013-07-03 16:56                         ` Simon Clubley
2013-07-02 22:21                 ` mjsilva
2013-07-03  7:18                   ` Dmitry A. Kazakov
2013-07-03  8:03                     ` Georg Bauhaus
2013-07-03 11:11                       ` Dmitry A. Kazakov
2013-07-03 12:49                         ` G.B.
2013-07-03 16:14                           ` Dmitry A. Kazakov
2013-07-03 14:50                     ` mjsilva
2013-07-02  8:26         ` Dmitry A. Kazakov
2013-07-02 10:44           ` Bill Findlay
2013-07-02 13:02             ` Dmitry A. Kazakov
2013-07-02 13:59               ` Bill Findlay
2013-07-02 14:41                 ` Dmitry A. Kazakov
2013-07-02 16:45                   ` Simon Clubley
2013-07-02 17:40                     ` Dmitry A. Kazakov
2013-07-02 16:57           ` Simon Clubley
2013-07-02 17:44             ` Dmitry A. Kazakov
2013-07-02 14:55         ` mjsilva
2013-07-02 15:20           ` Dmitry A. Kazakov
2013-07-02 15:58             ` mjsilva
2013-07-02 16:58               ` 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