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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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.231.202 with SMTP id ti10mr2080336pbc.5.1328816379219; Thu, 09 Feb 2012 11:39:39 -0800 (PST) Path: wr5ni5967pbc.0!nntp.google.com!news1.google.com!postnews.google.com!n12g2000yqb.googlegroups.com!not-for-mail From: Rugxulo Newsgroups: comp.lang.ada Subject: Re: Ada compiler using a M2 compiler as back-end Date: Thu, 9 Feb 2012 11:39:38 -0800 (PST) Organization: http://groups.google.com Message-ID: <632eb624-d913-4826-a43e-eb2ccdccecfd@n12g2000yqb.googlegroups.com> References: <8d32ea73-4126-4a44-8c28-7d921ba96e4e@s7g2000vby.googlegroups.com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 X-Trace: posting.google.com 1328816379 10189 127.0.0.1 (9 Feb 2012 19:39:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 9 Feb 2012 19:39:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n12g2000yqb.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKRAUELSC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.630.0 Safari/534.16,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-02-09T11:39:38-08:00 List-Id: Hi, On Feb 9, 7:12=A0am, Simon Clubley wrote: > > 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. Modula-2 was used to write MeDos and all the apps for the Lilith machine. Oberon was used for the Oberon (Ceres) system and ports. Modula-3 was (unofficially) used for SPIN OS, esp. since it was designed to optionally permit "UNSAFE" code and "UNTRACED" references (temporarily disable garbage collection). > 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. I hear that a lot, but you shouldn't judge a language by its syntax. A good text editor (e.g. Emacs) or simple script can alleviate simple things like that. GM2 handles quite a lot, IMO, but I guess your mileage may vary. No language can do it all. Though I vaguely remember hearing about AVR stuff ... (quick search) ... check here: http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/web/gm2-avr.html > 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. You should check out CFBSoftware's website. Also he's one of the only ones still posting in comp.lang.oberon. He does embedded stuff primarily with the Oberon-07 dialect. For him it's apparently good enough. For desktop stuff, I think he uses the Component Pascal [sic] [Oberon] dialect with .NET runtime. http://www.cfbsoftware.com/default.aspx http://www.astrobe.com/default.htm > Has anyone used any of the other Wirth type languages in a bare metal > environment and how did they compare to Ada ? Honestly, they're all nice languages (though I'm very inexperienced), but I don't see how you plan to gain anything over Ada. This may sound silly, but they're all probably good enough for most things. They've all been around the block, so to speak.