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 X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Point a beginner in the right direction? Cheap bare-board to run with a RTOS for running ADA Date: Mon, 8 Jul 2013 15:31:32 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <8a3093bb-90b3-4081-9b0b-dfde5aa6b851@googlegroups.com> <993despcuk1d.1ifczvyo501px.dlg@40tude.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1373315494 1536 69.95.181.76 (8 Jul 2013 20:31:34 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 8 Jul 2013 20:31:34 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Original-Bytes: 2752 Xref: number.nntp.dca.giganews.com comp.lang.ada:182342 Date: 2013-07-08T15:31:32-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:roqq0dhh1do.ckvrzq4256q1$.dlg@40tude.net... ... > You will need interrupts, you will need tasking you will need real-time > clock. You don't need the first to have the second two (Janus/Ada does not support interrupts; it was originally designed for MS-DOS which has no tasking nor allows any OS reentrancy). On a single-board computer, you don't really need interrupts because polling works just as well (and you have nothing else that the machine might be doing, preventing latency problems). [Even on Windows, polling works very well with just a tiny bit of care (don't write a long-running loop without something that breaks it up); Janus/Ada is careful to use "sleep" when nothing is going on.] > Of course, it would be possible to implement ad-hoc kludges to handle any > of this. But the result will be so fragile that any small changes in the > application will require redesigning the "OS". It is simply not the Ada > way > (TM). Not even much the C way any more. So you're saying that Janus/Ada is too fragile to exist (which is obviously false) and for some reason that changing the application (that is the Ada code) will require redesigning Janus/Ada (the Ada RTS). It's pretty obvious that is not true. :-) Randy.