comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Is Linux right for Embedded?
Date: Wed, 3 Oct 2001 13:39:14 -0400
Date: 2001-10-03T17:39:15+00:00	[thread overview]
Message-ID: <9pfig3$dvl$1@nh.pace.co.uk> (raw)
In-Reply-To: gGHu7.14498$ev2.23688@www.newsranger.com

If anecdotes count for anything, I could enumerate a long list of hours
spent in the last few weeks (We're busy trying to test quality into the
system! :-) where I've been tracking down memory leaks, dangling pointers,
illegal memory references, and bad array indexes all because of pointer
usage and/or lack of checks in C which - FWIW - wouldn't happen in Ada
because of the a) limited use of pointers, b) scope rules, c) compile time
checks or d) run time checks.

I recall a Bell Labs study of bugs in one of their big switching
applications in which the report found a whole slew of common bugs which
were classified into types & examples given. Their recommendation was to
institute coding standards and code reviews to check for those specific
problems. The overwhelming bulk of the bug types they identified were
impossible to commit in Ada because of compile or runtime checks and the
rest were highly unlikely because Ada doesn't depend on addresses/pointers
for everything in sight.

Its anectdotal, but it adds a level of experience and reasoning that
explains *why* the studies indicate superior productivity/error rates with
Ada vs C.

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/


"Ted Dennison" <dennison@telepath.com> wrote in message
news:gGHu7.14498$ev2.23688@www.newsranger.com...
>
> However, if there *were* numbers on C vs. Fortran, I wouldn't be shocked
to see
> Fortran (even F77) come out on top. C's overeliance on pointers cause a
great
> deal of its problems. But this is all theoretical. The numbers on Ada and
C
> actually exist.
>






  reply	other threads:[~2001-10-03 17:39 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Hcst7.10135$T24.6287173@typhoon.san.rr.com>
     [not found] ` <3BB69F21.B5AA7451@intercom.com>
     [not found]   ` <9p84tm$1ovg$1@news.cybercity.dk>
2001-10-01 15:02     ` Is Linux right for Embedded? Marin David Condic
2001-10-01 17:39       ` bgeer
2001-10-01 17:54         ` Pat Rogers
2001-10-01 18:52           ` Marin David Condic
2001-10-01 19:45             ` mike
2001-10-01 20:18               ` Larry Kilgallen
2001-10-01 20:46                 ` Marin David Condic
2001-10-03  1:50                   ` Lee Chang
2001-10-03  3:51                     ` mike
2001-10-02  8:06                 ` Dmitry Kazakov
2001-10-02 14:38                   ` Marin David Condic
2001-10-02 18:00           ` bgeer
2001-10-02 18:40             ` Larry Kilgallen
2001-10-02 18:44             ` Marin David Condic
2001-10-02 18:59             ` Pat Rogers
2001-10-02 19:34             ` mike
2001-10-02 21:24               ` Marin David Condic
2001-10-03 16:02               ` bgeer
2001-10-03 16:19                 ` Pat Rogers
2001-10-03 16:45                   ` Gary Scott
2001-10-03 17:12                     ` Ted Dennison
2001-10-03 17:39                       ` Marin David Condic [this message]
2001-10-03 18:10                       ` Gary Scott
2001-10-03 16:23                 ` Darren New
2001-10-03 16:32                 ` Marin David Condic
2001-10-03 17:31                   ` Ted Dennison
2001-10-03 17:52                     ` Marin David Condic
2001-10-03 20:07                       ` Ted Dennison
2001-10-03 20:27                         ` Marin David Condic
2001-10-03 20:44                       ` Preben Randhol
2001-10-03 21:09                         ` Marin David Condic
2001-10-03 23:48                           ` Preben Randhol
2001-10-04  2:58                             ` Brian Rogoff
2001-10-04 13:40                             ` Marin David Condic
2001-10-03 23:56                           ` pete
2001-10-04  4:33                             ` David Bolen
2001-10-04 17:19                               ` David Botton
2001-10-04 13:51                             ` Marin David Condic
2001-10-04 18:07                               ` mike
2001-10-04 23:47                 ` Rufus V. Smith
2001-10-01 18:42         ` Marin David Condic
2001-10-01 19:40           ` mike
2001-10-01 21:05             ` Marin David Condic
2001-10-02 17:57       ` Everett M. Greene
2001-10-02 17:43         ` Marin David Condic
2001-10-02 17:50         ` Ted Dennison
2001-10-02 18:46           ` Marin David Condic
2001-10-02 18:37         ` Larry Kilgallen
replies disabled

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