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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,26aa6d7095c151 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-18 08:15:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!uunet!dca.uu.net!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr12.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <3DAFC542.152C0EE0@lml.ls.fi.upm.es> <3DAFEE75.9BF44775@ACM.org> Subject: Re: Porting from Modula-2 to Ada X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 208.191.176.180 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr12.news.prodigy.com 1034954077 ST000 208.191.176.180 (Fri, 18 Oct 2002 11:14:37 EDT) NNTP-Posting-Date: Fri, 18 Oct 2002 11:14:37 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: FKPO@SJGTZYQBQXYQ[OD]_HBWB]^PCPDLXUNNHPIMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN Date: Fri, 18 Oct 2002 15:14:37 GMT Xref: archiver1.google.com comp.lang.ada:29909 Date: 2002-10-18T15:14:37+00:00 List-Id: "Nicolas Cail�n Paul Gloster" wrote in message news:3DAFEE75.9BF44775@ACM.org... > Manuel Collado wrote: > > "We are porting some legacy Modula-2/C code to Ada. The code uses > low-level facilities from Modula-2 and C. We would like to port it to > clean Ada[..]" > > I noticed that in the book "Safety-critical computer systems" written > by Neil Storey and published in 1996 by Addison-Wesley with ISBN > 020 1427 877 that were more compilers available for embedded targets, > at least according to Neil Storey or the author(s) of a study looking > at Pascal; C; Ada 83; Modula 2; assemblies; and about three other > languages he referred to, Modula-2 would be preferrable to use than Ada. > What are your views on this? That is not the conclusion I would draw from the text. See for example page 224: "This factor [use of mature tools versus new ones] has implications for the use of languages such as Modula-2. From Table 9.2 it is clear that a suitable subset of Modula-2 has many of the attractive attributes associated with safety-critical software. However, the comparatively little use of this language within this field is a distinct disadvantage. Some safety-critical applications are using Modula-2 ... and perhaps, in time, sufficient experience will be gained to allow it to become a preferred language in this area." I'm not aware of the "internationally recognized safe subset" for Modula-2 that his tables (and the text on pg. 223) indicate exist. Does anyone have a reference? -- Patrick Rogers Consulting and Training in: http://www.classwide.com Real-Time/OO Languages progers@classwide.com Hard Deadline Schedulability Analysis (281)648-3165 Software Fault Tolerance