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,5f6125e9594f9968 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.202.168 with SMTP id kj8mr19603569pbc.1.1332957471290; Wed, 28 Mar 2012 10:57:51 -0700 (PDT) Path: z9ni12081pbe.0!nntp.google.com!news2.google.com!postnews.google.com!v22g2000yqm.googlegroups.com!not-for-mail From: KK6GM Newsgroups: comp.lang.ada Subject: Re: Ada to C translator for small microcontrollers Date: Wed, 28 Mar 2012 10:56:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <95efeb15-9a27-4063-81f5-c914ddd60344@v22g2000yqm.googlegroups.com> References: <2424259e-cf1c-408e-a57e-f2c948087186@i2g2000vbv.googlegroups.com> <18324383.19.1332841560517.JavaMail.geo-discussion-forums@vbht7> <26305817.1823.1332879226490.JavaMail.geo-discussion-forums@vbiz13> <9tgt0lFqtU1@mid.individual.net> NNTP-Posting-Host: 12.35.64.226 Mime-Version: 1.0 X-Trace: posting.google.com 1332957471 20496 127.0.0.1 (28 Mar 2012 17:57:51 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 Mar 2012 17:57:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v22g2000yqm.googlegroups.com; posting-host=12.35.64.226; posting-account=qZVz2QoAAAAN9WxYp-9jYb7jORc4Zqwt User-Agent: G2/1.0 X-HTTP-Via: 1.1 barracudaweb.tritool.rancho:8080 (http_scan/4.0.2.6.19) X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MDDR; .NET4.0C; .NET4.0E; InfoPath.1; BRI/2),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-03-28T10:56:34-07:00 List-Id: On Mar 28, 9:36=A0am, Niklas Holsti wrote: > On 12-03-27 23:13 , kalvin.n...@gmail.com wrote: > > > tiistaina 27. maaliskuuta 2012 20.22.07 UTC+3 an...@att.net > > kirjoitti: > >> Full language translators are mostly used to move a project away > >> from one language to another more accessable language. So, why use > >> Ada in the first place. > > Because it is so much better than C, of course :-) That is the crux of the matter. > > Is it only a one > > person prjoect, two person project or project involving a small team. > > Why bother with Ada as we already have (free) C compiler avaiable. > > We also have a free Ada compiler available, for many platforms -- but > not for many small processors, I grant. > > But many projects developing in C for microcontrollers use non-free, > commercial compilers, IDEs, and other expensive tools (in-circuit > debuggers, etc.) The question IMO is not whether there is a benefit from > using the Ada language; the question is if the benefit can be > convincingly quantified in money and schedule terms. The free vs not-free issue should not be discounted. People who would be open to trying Ada on small platforms need to be able to get it into their hands easily. Free now to help make the sale, pay later for support. It would be fabulous, IMO, if the SofCheck Ada->C product would be made available in some free form. I know I would start using it immediately, and start trying to convert my organization to Ada. There is so much sub $5-$10 hardware now that could run Ada code very effectively, but continues to be programmed in C/C++ in part because of the intertia of the free or very low cost compilers available. > > If the project is a small one, and you don't have to share the code > > with others, C is just fine. > > No! C is a like a Model-T Ford that for some strange reason is allowed > on modern roads. You can survive and not be too uncomfortable on short > trips, but you should really consider changing to a better car. "The 1980s will probably be remembered as the decade in which programmers took a gigantic step backwards by switching from secure Pascal-like languages to insecure C-like languages. I have no rational explanation for this trend." -Per Brinch Hansen I can only agree wholeheartedly.