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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cec20777e0d41ea0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 21:00:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!uni-berlin.de!200-221-14-196.dsl-sp.uol.com.BR!not-for-mail From: Cesar Rabak Newsgroups: comp.lang.ada Subject: Re: Increased Interest In Ada? Date: Fri, 23 Feb 2001 01:58:30 -0300 Message-ID: <3A95EDF6.8A132FE3@uol.com.br> References: <3A82EFA2.C8756B09@acm.org> <970ma1$1l7$1@nh.pace.co.uk> <9719vr$8a2$1@nh.pace.co.uk> NNTP-Posting-Host: 200-221-14-196.dsl-sp.uol.com.br (200.221.14.196) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 982904292 24490041 200.221.14.196 (16 [39218]) X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:5456 Date: 2001-02-23T01:58:30-03:00 List-Id: Marin David Condic wrote: > > It occurrs to me that much of the embedded programming experience could be > simulated in software. Obviously, you wouldn't get the "Real World" > experience of dealing with actual physical entities, but, for example, > actuators could be displayed on a screen and made to move much as they would > in the physical world. The software interface to such simulated sensors and > actuators wouldn't be quite the same thing as having to deal with actual > ports, memory addresses, etc., but it might be made close enough to be a > useful experience. Providing such a simulation in Ada would certainly be a > lot easier to achieve than finding an appropriate embedded target & compiler > port. I disagree, but see below. > > Question: Given that a simulation like this would lack certain important > aspects of the embedded, realtime programming experience (having to somehow > work with a cross-compilation environment, dealing with linkage issues, > memory mapping, physical reality, etc.) might it still be useful as a > teaching tool? I think a simulation in conjunction with hardware would be > useful, but I'm wondering about finding a way around the problem of compiler > and hardware availability? As you yourself pointed out, one such a system would rapidly fall from a useful system to teach embedded systems programming to a simulator of some sort, and then Ada being a relatively low level language for that would loose its appeal to others like Matlab (which has a nice package for simulating a lot of industrial processes) or some scripting language already 'readied' with the right high level commands (macros?). > > MDC > > "Marin David Condic" wrote in > message news:970ma1$1l7$1@nh.pace.co.uk... > > I could imagine Ada being popular in electrical engineering departments if > > there were a convenient and inexpensive (maybe free?) Ada environment for > > playing around with embedded computing. It would have to work "off the > > shelf" with readily available hardware so that some prof could build a > > class/lab around it & students could afford to play with it on their own. I don't know how is the situation in other parts of the world for this kind of products, but in this country (Brazil), usually the kits for this type of training are based in 8 bit microcontrollers. This IMHO will lead to the need of some kind of subset of Ada language, which ultimately may be counterproductive to original objective (spreading Ada IIRC). > I > > am thinking of Dr. McCormick's model railroad class or the Lego robot > > discussed here a while ago. If either of these was packaged as "An > embedded > > programming course in a bag" so that a prof could just pick it up and > start > > teaching it, this might go a long way toward encouraging Ada as an > > educational tool as well as a practical tool for building real-world > > systems. > > Just my 0.019999...