From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ravenscar References
Date: Mon, 21 Jan 2019 17:19:43 -0600
Date: 2019-01-21T17:19:43-06:00 [thread overview]
Message-ID: <q25k2g$of1$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: q22a5c$d8o$1@dont-email.me
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]
"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message
news:q22a5c$d8o$1@dont-email.me...
> On 1/18/19 8:18 PM, lyttlec wrote:
>>
>> I need to port lots of existing more or less standard
>> components to meet Ravenscar. This is to satisfy some regulatory
>> authorities.
>
> I don't know that "port" is a good word for this activity. I once looked
> at implementing Sandén's FMS problem using Ravenscar. Starting from the
> requirements, I first had to find a Ravenscar-suitable design. The
> standard design has a dynamic task per job, and is clearly not possible
> using Ravenscar. An alternative design using a task per workstation had to
> be used.
>
> From that choice, Ravenscar drove a proliferation of protected objects and
> helper tasks. Things that were simple in full Ada became much more complex
> to meet the restrictions of the profile.
>
> Presumably you would need to apply a similar process to each of the
> components you need to convert.
Note that the less strict profile Jorvik, defined in Ada 2020 (and already
implemented in GNAT) would simplify this process.
I don't think it is possible to "convert" regular Ada code into Ravenscar
(unless, of course, it doesn't use any tasks ;-). You pretty much have to
completely rewrite it with Ravenscar in mind. (In this way, it is very much
like using SPARK.)
Randy.
next prev parent reply other threads:[~2019-01-21 23:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 17:48 Ravenscar References lyttlec
2019-01-16 18:15 ` Simon Wright
2019-01-18 19:18 ` lyttlec
2019-01-20 17:12 ` Jeffrey R. Carter
2019-01-21 23:19 ` Randy Brukardt [this message]
2019-01-22 9:25 ` J-P. Rosen
2019-01-22 22:05 ` Randy Brukardt
2019-01-28 0:38 ` lyttlec
2019-01-17 5:31 ` J-P. Rosen
2019-01-17 8:46 ` Niklas Holsti
2019-01-29 1:08 ` Jorge Real
2019-01-29 19:24 ` Niklas Holsti
2019-02-01 10:06 ` Jorge Real
2019-02-02 2:13 ` Jere
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox