comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <nobody@noplace.com>
Subject: Re: Advantages
Date: Sat, 26 Jun 2004 20:43:20 GMT
Date: 2004-06-26T20:43:20+00:00	[thread overview]
Message-ID: <40DDDFB8.2060103@noplace.com> (raw)
In-Reply-To: mailman.155.1088165232.391.comp.lang.ada@ada-france.org

I'm not sure what you want for statistical proof. In my experience with 
writing low-level software in an environment where I don't have an OS, I 
can say that the things that tend to cause the most difficult problems 
are where the software meets the hardware. Try to get two different CPUs 
synchronized across some communication link or deal with some I/O device 
where timing or synchronization are important to getting it right. Or 
sometimes its within the CPU instruction set itself - where arguments 
start about hardware vs software bugs. The *hard* stuff to get right is 
not related to bugs in type checking or constraint checking (or other 
language related stuff). Its the uncertainty of when things are 
happening or the fact that dozens of things are happening nearly all at 
once and corner conditions can come up that are difficult to test and 
difficult to program around.

Tasking may help, but that is only built on the assumption that your 
tasking primitives down at the low level have no bugs. Try figuring out 
how to synchronize tasks across multiple processors and implement the 
full set of Ada requirements in that regard and it might give you an 
idea of how difficult that might be to get right.

So I don't think that Ada automagically makes an OS "better" in some 
regard. Its going to have more to do with how sound the "Model" is for 
the lower level stuff - and even then, as you pile more and more layers 
on top ofit, you start discovering the limitations or design flaws in 
the model. I'm not saying someone can't do a better job with Ada - just 
that an OS is *really hard* to make stable and secure and it isn't 
something that can be done in a few weekends of coding and hope it will 
somehow be better.

MDC

Andrew Carroll wrote:
>>------------------------------
>>Message: 6
>>From: "Nick Roberts" <nick.roberts@acm.org>
>>Subject: Improving Ada's Image
>>
>>"Marin David Condic" <nobody@noplace.com> wrote in message
>>news:40CEDEBB.3050209@noplace.com...
>>
>>
>>>Like I said: The thing that makes operating systems hard to
>>>get right are not usually language issues. They are related to
>>>the asynchronicity of events and the complexity of the
>>>algorithms involved.
>>
>>This is one of the biggest advantages of writing system software in
> 
> Ada.
> 
>>Quite a lot of the really nasty pitfalls associated with parallel
>>programming in other languages are made either impossible or much more
>>easily detected and debugged by Ada.
> 
> 
> Okay Marin and Nick, I want to learn more.  Where can I find the
> statistical and practical proof?  I'm not trying to snub your comments,
> I just want to be able to provide the proof when I talk to my co-workers
> about Ada.  Thanks!
> 
> 


-- 
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jsf.mil/NSFrames.htm

Send Replies To: m   o   d   c @ a   m   o   g
                    c   n   i       c   .   r

     "Face it ladies, its not the dress that makes you look fat.
     Its the FAT that makes you look fat."

         --  Al Bundy

======================================================================




  parent reply	other threads:[~2004-06-26 20:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040624170516.B4DFC4C4110@lovelace.ada-france.org>
2004-06-25 12:24 ` Advantages Andrew Carroll
2004-06-25 12:22   ` Advantages Peter Amey
2004-06-25 20:46   ` Advantages of Ada (also AdaOS) Nick Roberts
2004-06-26 20:43   ` Marin David Condic [this message]
2004-06-25 19:41 Advantages Andrew Carroll
  -- strict thread matches above, loose matches on Subject: below --
2004-06-26  6:28 Advantages Andrew Carroll
2004-06-27  7:04 Advantages Andrew Carroll
2004-06-27 15:16 ` Advantages Nick Roberts
2004-06-27 21:22   ` Advantages Pascal Obry
2004-06-28  0:51   ` Advantages Robert I. Eachus
2004-06-28  1:59     ` Advantages Brian May
2004-06-29  0:24       ` Advantages Randy Brukardt
2004-06-29  3:32         ` Advantages Hyman Rosen
2004-06-29 18:41           ` Advantages Randy Brukardt
2004-07-02  0:49             ` Advantages Brian May
2004-07-02  1:31               ` Advantages Jeffrey Carter
2004-07-02  9:13               ` Advantages Dmitry A. Kazakov
2004-07-02 12:27               ` Advantages Marin David Condic
2004-07-04 17:42       ` Advantages Robert I. Eachus
2004-06-28 12:08   ` Advantages Marin David Condic
2004-06-27 18:32 ` Advantages Jim Rogers
     [not found] <20040628005515.0A1E74C4160@lovelace.ada-france.org>
2004-06-28  6:23 ` Advantages Andrew Carroll
2004-06-28 14:44   ` Advantages Jacob Sparre Andersen
2004-07-04 18:11   ` Advantages Robert I. Eachus
2004-06-28  9:52 Advantages Lionel.DRAGHI
replies disabled

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