comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Ada and embedded applications
Date: Tue, 5 Jun 2001 10:04:48 -0400
Date: 2001-06-05T14:04:49+00:00	[thread overview]
Message-ID: <9fiou1$30g$1@nh.pace.co.uk> (raw)
In-Reply-To: c5TS6.23613$HL5.2796687@news6-win.server.ntlworld.com


For something this small, you could probably code the app in assembler and
not find any good reasons to go to a higher level language. You probably
wouldn't get any big advantages using Ada for this sort of target anyway
(other than you're working with ther *coolest* language and one where the
syntax doesn't drive you crazy. :-) Any program that could be made to run in
512 bytes of memory could be coded in Ada, C or Assembler and be made just
about equally reliable with nearly equal effort. Its just too small a system
to think you need to worry much about code readability (throw it away and
rewrite it) or software reuse (are you going to port the app somewhere
else?) or runtime constraint checks or any of the other things where Ada
gives you an edge.

Something like this you toss to a single programmer and in a few days he
hands you back a working program that has been poured over pretty thoroughly
to make sure it works right. Where you want to work with Ada is where
programs become larger, data representations become more complex, the number
of developers is bigger, etc.

It would be *nice* if Ada was available for all sorts of microcontrollers
and the quality of the compilers made it possible to use Ada for such small
memory models. I believe that there is no reason that you couldn't write
code using a subset of Ada that would be able to fit in something this
small, but it requires some work on the part of the compiler vendor to
target that kind of platform. I just don't see anyone devoting much effort
to targeting that market.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Chris Campbell" <chris.danx@ntlworld.com> wrote in message
news:c5TS6.23613$HL5.2796687@news6-win.server.ntlworld.com...
>
> Consider that at work right now, I'm working on some code for a PIC
> 16C55, which has a total of 512 bytes (no, not Kbytes, but bytes) of
> program memory available.  It might be possible to get an Ada program
> to run in that, but if so it'll take somebody a LOT smarter than me
> to do it.






  parent reply	other threads:[~2001-06-05 14:04 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 18:59 Ada and embedded applications Chris Campbell
2001-06-04 19:34 ` Marin David Condic
2001-06-04 21:12   ` Chris Campbell
2001-06-04 21:33     ` Matthew Woodcraft
2001-06-04 21:33     ` Ted Dennison
2001-06-04 22:33       ` Chris Campbell
2001-06-05  7:55         ` Chris Campbell
2001-06-05 15:03           ` Ted Dennison
2001-06-04 22:09     ` Marin David Condic
2001-06-05  2:18       ` tmoran
2001-06-05 13:38         ` Marin David Condic
2001-06-06  4:09           ` Jeffrey Carter
2001-06-05 18:23         ` Randy Brukardt
2001-06-05 18:25         ` Randy Brukardt
2001-06-05 20:18           ` Marin David Condic
2001-06-05  7:45     ` Martin Dowie
2001-06-05 13:49       ` Marin David Condic
2001-06-05 20:47         ` Martin Dowie
2001-06-05 10:15     ` Rod Chapman
2001-06-04 21:02 ` Larry Kilgallen
2001-06-04 20:06   ` Ehud Lamm
2001-06-04 21:18     ` Ted Dennison
2001-06-05 12:35     ` Marc A. Criley
2001-06-05 19:00       ` Pascal Obry
2001-06-04 21:15 ` Robert A Duff
2001-06-04 21:30   ` Chris Campbell
2001-06-05  2:06     ` Jeffrey Carter
2001-06-05 14:04     ` Marin David Condic [this message]
2001-06-05  7:50 ` Martin Dowie
2001-06-05 14:24   ` John English
2001-06-08 23:55     ` Robert A Duff
2001-06-09 12:47       ` Ehud Lamm
2001-06-14 16:27       ` Pat Rogers
2001-06-06  2:31 ` Ken Garlington
2001-06-06 11:14   ` Chris Campbell
2001-06-06 15:47     ` Marin David Condic
2001-06-06 17:57     ` Jerry van Dijk
2001-06-06 22:32       ` Chris Campbell
2001-06-06 22:37         ` Chris Campbell
2001-06-06 15:42   ` Marin David Condic
replies disabled

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