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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fd2f984f8ef238d1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news.ett.com.ua!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: Re: Why so hard to come up with a simple embedded Ada system? Date: Wed, 14 Jul 2010 08:03:31 +0000 (UTC) Organization: ETT newsserver Message-ID: References: <37da1783-b355-4d43-a9a8-7f0d4ba4da9c@t13g2000prf.googlegroups.com> Reply-To: anon@anon.org NNTP-Posting-Host: dialup-4.225.170.104.dial1.dallas1.level3.net X-Complaints-To: usenet@news.ett.com.ua X-Notice: Filtered by postfilter v. 0.6.1 X-Newsreader: IBM NewsReader/2 2.0 Xref: g2news1.google.com comp.lang.ada:12416 Date: 2010-07-14T08:03:31+00:00 List-Id: In <37da1783-b355-4d43-a9a8-7f0d4ba4da9c@t13g2000prf.googlegroups.com>, usenet@scriptoriumdesigns.com writes: >I'll just come out and say it - for a language that was designed for >as much for embedded applications as for anything, it seems to be >maddeningly difficult to actually get Ada on a modest embedded >platform. By modest I mean low-end 32 bits, no MMU. ARM7 or Cortex >Mx would be my first choice. I can be up and running on such a >platform with C and a tasking library in a day (Rowley Crossworks, >nice package). Why can't I do the same with Ada? Or rather, to avoid >making this about me, why can't an embedded programmer - student, >hobbyist or professional - who's heard about Ada and wants to give it >a spin, including hard-realtime concurrency, just do it? > >If Ada fans (I include myself) want to see Ada get more exposure, this >seems like not only a desirable step but a necessary one. I can run C >on a thousand such boards, and I can't (AFAIK) run Ada on one. > >Maybe this is all available, and I just haven't found out where. Then >that's a problem too, but I'll be happy to hear about it. > >All comments welcome. First, Ada was designed to be an application language, not only to be used for applications but Ada allows all programming including embedded. As for concurrency and real-time are built-in features of the Ada language from 83 to the current version. In a Ada shop you can write your code on a Host system, test and debug then recompile to the embedded target system. Of course, to do this the Host system must emulate the devices on targets system and the compiler must be able to generate the object module for that target system. But most of these Ada compiles that have is ability are out of the price range of students. But there are a few projects like for ARMs that uses GPL GNAT that are around, if you do a little research you should be able to find one or two.