comp.lang.ada
 help / color / mirror / Atom feed
From: anon@att.net
Subject: Re: Advice on selling Ada to a C shop
Date: Thu, 24 Jun 2010 17:24:13 +0000 (UTC)
Date: 2010-06-24T17:24:13+00:00	[thread overview]
Message-ID: <i004br$685$1@speranza.aioe.org> (raw)
In-Reply-To: 9b5af9c0-43a3-4a9d-9a03-5b6c794f611e@e5g2000yqn.googlegroups.com

In <9b5af9c0-43a3-4a9d-9a03-5b6c794f611e@e5g2000yqn.googlegroups.com>, Maciej Sobczak <see.my.homepage@gmail.com> writes:
>On 23 Cze, 21:57, "Peter C. Chapin" <pcc482...@gmail.com> wrote:
>
>> My understanding is that Ada is primarily a "systems" programming language. It
>> supports embedded programming, real time programming, and other "low level"
>> applications. People writing such programs are not particularly concerned
>> about GUI packages. Well... I can't speak for everyone, but I'm using Ada in
>> an embedded application and I'm certainly not worried about the lack of GUI
>> support.
>
>The reason for why GUI is not (and will not be) in the Ada standard
>library is the same as in C++ - there are too many ways to do it and
>the cost of prototyping is too high to attract attention of
>individuals who are usually *volunteers* in standardization efforts.
>Especially when the already acceptable solution is to live with
>existing third-party library or libraries.
>
>> I wasn't involved in the discussion that lead to the decision to include
>> conditional expressions in Ada
>
>Again similarity to C++ - conditional expressions are *essential* for
>initializing constants. Without them programmers are forced to either
>use modifiable variables where constants would be more natural (this
>is unsafe) or to write local or helper functions, which destroys the
>locality of reference for code entities (this is less readable ->
>unsafe).
>
>I'm glad that Ada is going to adopt them.
>
>--
>Maciej Sobczak * http://www.inspirel.com
>
>YAMI4 - Messaging Solution for Distributed Systems
>http://www.inspirel.com/yami4

Now, except for "GNAT.Sockets.*" and the outdate "pragma No_Rum_Time"
GNAT has side-step the following design concept.

    "The language must also be "complete" in the sense of the user being 
    able to write all usual programs without having to resort to assembly 
    language or local extensions. It had to have real-time capability and 
    it had to be set up to produce programs for the bare machine in a 
    missile, without support of an operating system. It also was required 
    to support large Command and Control systems, so it had to have a 
    file input/output system, however messy that might be."


This paragraph suggest that they should be packages under Ada.* or 
System.* that would control the hardware such as the Serial (both UART 
and USB), parallel ports. And all connection types (bus, serial, usb, 
and parallel, etc) for the keyboard and mouse devices.  Plus, it should 
have routine to control network cards and other standard I/O, such as 
direct video control and disk while bypassing the OS.  But no Ada 83 
system every used the RM defined Low_Level_IO package. And in Ada 95 
and Ada 2005 there is no packages that are defined in the RM that 
control any group of hardware directly, bare machine or not. The Ada 
package mostly just linked to a precompiled library (aka local 
extensions) that connected to the OS. So, where are these packages? 


Note:  Allowing Ada to be written without using "Local Extension" can 
       mean that Ada needs a "Universal Windows/Graphics" package 
       groups that in one version links to the OS, as well as 
       having another directly control the graphics of a group of 
       common GPU cards. Where is the package or packages, without 
       the programmer using assembly language or the Machine_Code 
       package?


Plus, the file system in some case needs to be self-contained without 
the OS. So where are the System.File_System.* packages like fat, ext2, 
ext3, etc. ? Or may be a generic package for creating file systems.




  reply	other threads:[~2010-06-24 17:24 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-19 23:01 Advice on selling Ada to a C shop usenet
2010-06-20  6:17 ` Jeffrey R. Carter
2010-06-20  6:24 ` Jeffrey R. Carter
2010-06-21 14:07   ` Warren
2010-06-20  7:00 ` J-P. Rosen
2010-06-20  7:40   ` Nasser M. Abbasi
2010-06-20 12:46     ` Peter C. Chapin
2010-06-21 14:23       ` Warren
2010-06-25 17:34         ` Marco
2010-06-28 13:22           ` Warren
2010-06-29  8:42             ` Stephen Leake
2010-07-01 21:09               ` Per Sandberg
2010-08-21  3:53               ` Yannick Duchêne (Hibou57)
2010-08-21  9:22                 ` Ludovic Brenta
2010-08-21 10:10                   ` Simon Wright
2010-08-22  0:16                   ` Brian Drummond
2010-06-20  9:34 ` Ludovic Brenta
2010-06-20 12:35   ` Peter C. Chapin
2010-06-20 17:44   ` Fritz Wuehler
2010-06-20 18:06     ` Ludovic Brenta
2010-06-20 21:13       ` Georg Bauhaus
2010-06-21  0:29         ` Ludovic Brenta
2010-06-21  1:14           ` Nasser M. Abbasi
2010-06-21  8:10             ` Georg Bauhaus
2010-06-24  0:04             ` BrianG
2010-06-28 13:37               ` Warren
2010-06-21  8:14           ` Georg Bauhaus
2010-06-21  9:22           ` George Orwell
2010-06-21 13:59             ` Ludovic Brenta
2010-08-21  4:28               ` Yannick Duchêne (Hibou57)
2010-08-21  9:21                 ` Ludovic Brenta
2010-08-21 11:06                 ` Brian Drummond
2010-06-21 14:40             ` Warren
2010-06-21 17:38               ` Jeffrey R. Carter
2010-06-21 20:04                 ` Warren
2010-06-21 19:47               ` starwars
2010-06-21 20:07                 ` Warren
2010-06-21 14:33           ` Warren
2010-06-21 14:29       ` Warren
2010-06-22  5:01         ` Fritz Wuehler
2010-08-21  4:11     ` Yannick Duchêne (Hibou57)
2010-08-21  9:01       ` Pascal Obry
2010-08-21  9:24       ` Ludovic Brenta
2010-06-21  8:29 ` Maciej Sobczak
2010-06-21  9:58   ` Ludovic Brenta
2010-06-23 15:36   ` Brian Drummond
2010-06-21 13:43 ` Warren
2010-06-22 15:00 ` Lucretia
2010-06-22 18:01   ` anon
2010-06-22 19:06     ` Nasser M. Abbasi
2010-06-23 16:20       ` anon
2010-06-23 18:19         ` (see below)
2010-06-23 22:28           ` Brian Drummond
2010-06-23 19:57         ` Peter C. Chapin
2010-06-23 20:50           ` Adam Beneschan
2010-06-23 21:24             ` Robert A Duff
2010-06-29 20:30             ` Randy Brukardt
2010-06-29 20:35               ` Adam Beneschan
     [not found]               ` <pcadnQUIZdtJeLfRnZ2dnUVZ_oWdnZ2d@earthlink.com>
2010-07-01 11:32                 ` Stephen Leake
2010-06-23 21:33           ` Robert A Duff
2010-06-24 17:25             ` anon
2010-06-24 22:18               ` Adam Beneschan
2010-06-24  7:48           ` Maciej Sobczak
2010-06-24 17:24             ` anon [this message]
2010-06-24 19:34               ` Maciej Sobczak
     [not found]     ` <CbSdncnFfaC6A7zRnZ2dnUVZ_oYAAAAA@earthlink.com>
2010-07-06  5:37       ` David Thompson
2010-07-06 11:14         ` anon
2010-07-09 13:21           ` Marco
2010-07-09 13:45             ` Dmitry A. Kazakov
2010-07-09 14:12               ` Georg Bauhaus
2010-07-09 15:08                 ` Dmitry A. Kazakov
2010-06-22 18:06 ` Phil Clayton
2010-06-22 20:25   ` Gautier write-only
2010-06-22 21:00 ` Gautier write-only
2010-06-23  7:17   ` Maciej Sobczak
2010-06-23  7:40     ` Gautier write-only
2010-06-23 11:17       ` Georg Bauhaus
2010-06-23 18:38         ` Jeffrey R. Carter
2010-06-23  8:08     ` Gautier write-only
replies disabled

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