comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian_drummond@btconnect.com>
Subject: Re: Ada as a first language
Date: Sun, 22 Mar 2009 14:44:05 +0000
Date: 2009-03-22T14:44:05+00:00	[thread overview]
Message-ID: <hhics4h0pagtf9gcc6n9bsdfh0i64atb65@4ax.com> (raw)
In-Reply-To: 01d59695$0$20632$c3e8da3@news.astraweb.com

On Sun, 22 Mar 2009 13:26:51 +1100, Chris <calc@internode.on.net> wrote:

>Hi All,
>
>I am a mechanical engineer, and I have become interested in robotics 
>embedded systems. I have little experience in this area other that 
>plugging in electronic components and clicking run.
>
>I had recently started to learn Java, when I found out about Ada. From 
>what I have seen of Ada, I really like the way that the language is 
>structured, that is has a proper standard, and it seems like a good 
>choice for the types of projects that I have in mind.
>
>I have down loaded GNAT with the GPS IDE, as well as the work bench for 
>eclipse (although I haven't had it working yet), and have been trying to 
>work my way through the examples.
>
>My concern lies in the smaller community for Ada. As an 
>amateur/hobbyist, am I biting off more than I need to?

I would have to say that, in itself, it's easily the best language for the job.

However it is something of a minority language; you will be limited in the
support and tools you can find for it.

For example if you are interested in robotics you may wish to develop for
embedded processors, e.g. to read position sensors and control stepper motors
(or BLDC or induction motors, depending how serious you are!) 
Of all the small embedded controllers, only one family (the Atmel AVR) has an
Ada compiler targetting it. (google AVR Ada)

As it happens the AVR is quite a good choice - there are low-cost boards,
programmers, and peripherals (sensors, steppers) for it (www.arduino.cc) , and
it is used in a number of popular robotics projects (http://www.reprap.org)

HOWEVER I can't find ANY tutorial on putting these (AVR Ada and Arduino)
together. 

It can't be too hard. 

And it looks like an ideal match.

But ... no, I haven't tried it either.

One piece of good news is that Ada interfaces to C fairly easily. Assuming that
works in the AVR-Ada compiler (can anyone confirm that?) you can use any C
libraries (e.g. to talk to peripherals) on a "fit and forget" basis, from Ada.

- Brian 



  parent reply	other threads:[~2009-03-22 14:44 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22  2:26 Ada as a first language Chris
2009-03-22 10:36 ` mockturtle
2009-03-22 14:44 ` Brian Drummond [this message]
2009-03-23 11:03   ` Peter C. Chapin
2009-03-23 13:29     ` Brian Drummond
2009-03-25 10:51       ` Peter C. Chapin
2009-03-23 16:59   ` rolf.ebert_nospam_
2009-03-24 19:22   ` Tim Rowe
2009-04-04  1:42     ` Brian Gaffney
2009-04-07  9:50       ` Alex R. Mosteo
2009-03-22 15:21 ` Gary Scott
2009-03-23  8:28 ` Brian
2009-03-23  9:05   ` Jacob Sparre Andersen
2009-03-23 22:02     ` Brian
2009-03-24  1:41       ` Gautier
2009-03-24  5:56       ` Jacob Sparre Andersen
2009-03-24 22:30         ` Brian
2009-03-25  9:41           ` rmoldskr+usenet
2009-03-25 22:27             ` Brian
2009-03-25 17:58       ` John McCormick
2009-03-25 23:20         ` Brian
2009-03-23 12:08 ` Chris
2009-03-25 21:10   ` John McCormick
2009-04-11 16:40   ` Mike Silva
2009-03-23 23:05 ` jpwoodruff
2009-03-25  0:16 ` Martin
2009-03-25 15:54 ` John McCormick
  -- strict thread matches above, loose matches on Subject: below --
1997-07-03  0:00 Ada as a First Language RC
1997-07-03  0:00 ` Michael Feldman
1997-07-06  0:00 ` Alan Brain
1997-07-06  0:00   ` Robert Dewar
1997-07-16  0:00   ` Eric James DeArment
1997-07-07  0:00 ` Shmuel (Seymour J.) Metz
1992-12-29 15:40 agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!vx9000.weber.edu!
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox