From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,740e91341085efe3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Some help for a C++ guy Date: 08 Apr 2005 06:50:13 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <1112912062.146885.324110@o13g2000cwo.googlegroups.com> <1112915932.818249.246780@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1112939523 10605 62.49.19.209 (8 Apr 2005 05:52:03 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 8 Apr 2005 05:52:03 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: g2news1.google.com comp.lang.ada:10330 Date: 2005-04-08T06:50:13+01:00 List-Id: defaultuserbr@yahoo.com writes: > Ed Falis wrote: > > On Thu, 07 Apr 2005 18:14:22 -0400, wrote: > > > > > I don't know much more myself, other than we can't use > > > tasking. I understand that such limitations may make this too > > > implementation-specific for a general newsgroup. Any help would > > > be appreciated. > > > Dumb question: is there some reason you're not asking AdaCore? > > > Well, my question really isn't a problem with the tool per se, I'm > just trying to come up with a design that's better. I doubt they > would answer such questions. You should certainly try them and see! It is the sort of question I would be quite happy asking on our support contract. > I only mentioned the restriction to forestall anyone suggestioning a > tasking approach, as I had already tried that on the advice of a guy > working for the company in Philadelphia. It sounds from your original question as though you want to use tagged types, roughly the equivalent of classes & inheritance in C++. Looking at AdaCore's site it says GNAT Pro HIE predefines three customized run-time libraries that are particularly useful for safety-critical systems. These correspond to Ada subsets referred to as the High Integrity Profiles: * the Zero Footprint (or ZFP) profile, a minimal subset requiring no run-time support * the Ravenscar profile, a superset of ZFP that supplies the Ravenscar tasking features * the Cert profile, a superset of ZFP that is based on requirements from several major aerospace companies, comprising exception handling and some additional features The exact set of High-Integrity profiles provided by a GNAT Pro HIE implementation depends on the platform. so I think you at least need to find out what the Cert profile for your target actually is -- hard to work out how to approach the job without knowing that! -- Simon Wright 100% Ada, no bugs.