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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!newsfeed.fsmpi.rwth-aachen.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 09 Jul 2013 13:08:44 +0200 From: "G.B." User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running ADA References: <8a3093bb-90b3-4081-9b0b-dfde5aa6b851@googlegroups.com> <993despcuk1d.1ifczvyo501px.dlg@40tude.net> <04244d3e-2a29-4980-b7a1-0dad4569caa2@googlegroups.com> <1czx18gollwt5$.n1wi7pmd0bqh$.dlg@40tude.net> <51dbcabc$0$6572$9b4e6d93@newsspool3.arcor-online.net> <1ogsxnv70j2pf$.6yt3j5z2t3ry$.dlg@40tude.net> In-Reply-To: <1ogsxnv70j2pf$.6yt3j5z2t3ry$.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <51dbef3d$0$6569$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 09 Jul 2013 13:08:45 CEST NNTP-Posting-Host: 03fa039b.newsspool3.arcor-online.net X-Trace: DXC=nc^JLh>_cHTX3jM On 09.07.13 11:12, Dmitry A. Kazakov wrote: > On Tue, 09 Jul 2013 10:33:00 +0200, Georg Bauhaus wrote: > >> On 09.07.13 09:51, Dmitry A. Kazakov wrote: >>> On Mon, 8 Jul 2013 17:27:11 -0700 (PDT), mjsilva@scriptoriumdesigns.com >>> wrote: >>> >>>> And these micros continue to have those memory-mapped hardware registers, >>>> and those of us who program these chips deal with those registers all the time. >>> >>> No technology ever dies, it becomes niche. >> >> Microcontrollers a niche??? > > Yes. No. http://en.wikipedia.org/wiki/Microcontroller#Volumes >>> Ada's advantage in the niche is minimal. >> >> Please provide evidence. > > Because the microcontrollers we are talking about are those where Ada would > be restricted to a subset which would have only syntactic advantages over > C. There is evidence to the contrary. Notably, Ada's scalars seem worth using it. > The programs are tiny, data structures absent. The list, the prototypical data structure, originated in computers that size. The hash table isn't far from it. So is the small set (bits representing presence). > The software is not > maintained as the hardware becomes obsolete in few years. You just heard that "the guys" still work with field proven hardware that was designed many years ago, and is freshly produced in large quantities. > Portability is zero. Algorithmic parts can be close to 100% portable, since they just require some memory and a reasonably complete set of instructions. I/O isn't that different between simple I/O ports of this or that brand, is it? That quite enough for the many uses of these small computers. > Granted, Ada with SPARK would still be an advantage, but people programming > such stuff won't give a damn anyway. Programmers might find the data flow parts easy and useful, once SPARK is readily available. >>> Its advantage on mainstream SBCs is potentially huge. >> >> By all means, please provide evidence! > > Because full Ada is portable, maintainable, safe. That's a claim, and we have just learned that it insufficiently reflects reality, because there is no Ada where software needs to be ported. > As an evidence take our > embedded middleware written 100% in Ada. It is fully portable across > Windows/Linux/VxWorks. These are PC style computers, and many here seem to have said more than once that they use machines smaller than that, did so, and will be, successfully. > Its counterpart written in C++ is strictly for > Windows PC and even porting it from Win32 to Win64 would impose problems so > big, that we will probably never do it. What does Ada provide that is in Win32 but not in C++? Have you looked at C++ 11 for the tasking bits?