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,a27bd01ed18da21f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.213.68 with SMTP id nq4mr1365238pbc.2.1328793127507; Thu, 09 Feb 2012 05:12:07 -0800 (PST) Path: wr5ni4952pbc.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Ada compiler using a M2 compiler as back-end Date: Thu, 9 Feb 2012 13:12:07 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <8d32ea73-4126-4a44-8c28-7d921ba96e4e@s7g2000vby.googlegroups.com> Mime-Version: 1.0 Injection-Date: Thu, 9 Feb 2012 13:12:07 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="4pjzwDT2MPp9AkNxUo/C4Q"; logging-data="25051"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BClvItZm/8CpFH7S5U9CSP2ICgh6HnfA=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:wZOFtd0JDNEanucoCMMpyHl8Ah0= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: 2012-02-09T13:12:07+00:00 List-Id: On 2012-02-09, Rugxulo wrote: > Hi again, > > On Feb 9, 3:57�am, Rugxulo wrote: >> >> Once Ada95 and C++98 were standardized (ISO), there was less >> need to use Modula-3 as they had the same basic features (objects, >> generics, exceptions). Even Oberon-2 (1992) has objects, dynamic >> arrays, garbage collection. But Oberon was never standardized, and >> even ISO Modula-2 (1996) was quite big (vs. PIM3) > > Oops, forgot to mention the massive popularity of Delphi/FreePascal, > Java, C#, and Objective C. Yeah, I guess you already noticed that (hi > Gautier!). In other words, it's a very fractured world. Oh well, > variety is the spice of life! One of the annoyances about the alternate Wirth type languages is that they have some nice features which make writing safe code easier, but they, unlike Ada, don't appear to be targetted for hard real time bare metal environments. Ada runs just fine on the Atmel AVR and, when used under RTEMS, can be made to run on a ARM board if you are willing to write a BSP. GNU Modula-2 looks like (maybe) a possible candidate if you only want a basic set of language capabilities, but I find it's upper case keywords to be really ugly. Oberon has some talk about running on a NXP MCU, but I could not find any mention of it's real time characteristics (it uses garbage collection), it's footprint or porting effort involved or which of it's several variants would be best for exploring further. I did find mention of a port to the AVR, but that appears to have been a one-off effort. Has anyone used any of the other Wirth type languages in a bare metal environment and how did they compare to Ada ? Thanks, Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world