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 16:18:45 -0400
Date: 2001-06-05T20:18:47+00:00	[thread overview]
Message-ID: <9fjer7$b3d$1@nh.pace.co.uk> (raw)
In-Reply-To: zt9T6.39$yq2.1735@client

....or availability. C has the advantage over Ada in that you can usually
get some version of a C compiler for a lot of small microcontrollers. Ada is
around for some 16 bit processors (not necessarily the most popular, either)
and most of the more generally used 32 bit processors (M680x0, Mips,
PowerPC, 80x86, etc.)

I'd say that anyone who prefers C over Ada in a host/target environment
where a descent implementation of Ada is available is doing so out of
ignorance (Or anti-Ada bigotry). For lots of popular processors you have
good Ada implementations & no reason not to gain its advantages over C. For
quite a few smaller processors your choices quickly become C or Assembly
language and I'd rather use C than Assembly.

This may be blasphemy, but I'd be in favor of an Ada subset for small
microcontrollers wherein any features too hard to implement or too costly
were dropped. I'd want the Ada features that had compile-time implications
(rep clauses, static checks, etc.) but would willingly abandon run-time
features (floating point, big integers, whatever) in order to have Ada as a
choice over C. That's one area where "The Mandate" ended up hurting Ada. If
there had been a 100% upward-compatible subset of Ada available for small
embedded machines, it might not have received so much resistance and might
have seen more "evolving" implementations. In the early days, Ada just bit
off more than she could chew & we're still paying that price.

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/


"Randy Brukardt" <randy@rrsoftware.com> wrote in message
news:zt9T6.39$yq2.1735@client...
>
> As I recall, that version could make useful programs that fit in 16K ROM
> and 2K RAM. The only reason to prefer C is ignorance...
>






  reply	other threads:[~2001-06-05 20:18 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 [this message]
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
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