comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada
  1989-11-14 21:24 A farewell to Ada Ted Holden
@ 1989-11-15 16:06 ` William Thomas Wolfe, 2847 
  1989-11-16 19:08   ` Ada Walter Rowe
  0 siblings, 1 reply; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1989-11-15 16:06 UTC (permalink / raw)


From article <14033@grebyn.com>, by ted@grebyn.com (Ted Holden):
> Journal articles indicate a continuing failure of Ada to work for embedded
> systems as well as for large scale projects, a continuing failure to run
> with acceptable performance on anything other than parallel or special-
> purpose, expensive systems, and an actual gain in cross-system complexity
> and decrease in the stated goal of reuseability.  

   This is blatantly false; consider the November 1988 article
   in IEEE Software ("Large Ada projects show productivity gains"):

      After years of development and an initial skeptical reception,
      many people are now using Ada and saying that they like it...
      The growth in Ada's use has been helped by favorable reports
      from early adopters ("Ada Catches on in the Commercial Market,
      Soft News, IEEE Software, November 1986, p. 81) and by the
      growing number of validated compilers... project results show
      that Ada can greatly increase productivity for large systems...
      [in a 1.2-million-line Ada project] reuseable software developed 
      on the project was counted only once.  Roughly 13 percent of the
      delivered software was reuseable.  This reuse saved 190 man-months
      of effort (a 9-percent savings) and reduced the schedule by two
      calender months (a 4-percent savings)... Productivity for the
      execution environment -- including the operating system, data
      management, information management, communications support, and
      communications interface -- was 550 lines per man-month... 
      Productivity for the applications software... was 704 lines per
      man-month... the average productivity of the 1,500 systems in
      productivity consultant Lawrence Putnam's database: 77 lines
      per man-month (at the 1.2-million-line level)... 

   Sounds like a continuing *success* to me... 
   
> In particular, the
> ordinary systems which most people will be seeing in front of them for the
> next 5 - 15 years, UNIX systems and PCs, will not run Ada accepteably.

   Precisely the point of Dr. Charles McKay, head of the Software
   Engineering Research Consortium, in his Tri-Ada '88 presentation,
   "Standards for the Sake of Standards -- A Recipe for Failure".

   A prime example is Unix; the current POSIX effort aims to 
   standardize 1960's technology, thus resulting in a "lowest
   common denominator" which locks users into obsolescence.

   Ada's problem with Unix is that Unix, being 1960's technology,
   does not properly support lightweight processes.  Modernized 
   versions of Unix (e.g., MACH) which are designed to provide
   such support remove the difficulty.  Note that C or C++ programs
   making use of the same "heavyweight" tasking facility will be
   equally slow, since they rely on precisely the same system. 

   If one does not have to struggle with the limitations of *Unix*,
   then there is a wide selection of Ada compilers which run Ada 
   within that environment quite nicely.  Some, like the Telesoft
   TeleGen2 compiler, have global optimization facilities which
   result in better code than that which can be produced by current
   C compilers (as of Tri-Ada '88). 
   
> C began with real machines, real programmers.  The idea seems to have
> been:  [...] end up with a kind of high-structured, low-level language; 
> a thinking-man's assembler.  

   Yes, as one Usenetter's .signature states, "C combines the power
   of assembly language with the flexibility of assembly language".

   Fortunately, the economics of software development are in favor
   of using considerably higher-level languages.

> C++ appears to BE the very language which Ada was supposed to be
> (the spirit of the law) but never can and never will be.  

   Total rubbish; C++ retains all the low-level and dangerous
   facilities of C, which is obsolescent by modern software
   engineering standards.  As stated by Fairley (Software
   Engineering Concepts, page 228),  

      Modern programming languages provide a variety of
      features to support development and maintenance of
      software products.  These features include strong
      type checking, separate compilation, user-defined
      data types, data encapsulation, data abstraction,
      generics, flexible scope rules, user-defined exception
      handling, and concurrency mechanisms.  This chapter
      discusses these concepts...

   Now C++ has one useful feature which Ada does not: inheritance.
   But it is also (as its designer freely admits) lacking in
   generics and exception handling, and also does not provide
   a means of expressing concurrency in a standardized, portable way. 
   Since tools such as Classic Ada permit the use of inheritance with
   Ada (generating *standardized*, compile-it-anywhere code), this is
   something which can be worked around until Ada 9X brings it in directly. 

> Ada is what you might expect from a programming language designed by
> committee;  it is unbelievably slow, an unbelievable resource hog,

   This has been a property of some early Ada *compilers*, but is
   not a property of the Ada *language*.  Fortunately, compiler
   technology is now capable of delivering tight, efficient Ada
   object code, better than that being produced by C compilers.

   Compilation is slower because the Ada compiler is doing much
   more work for you; this reflects again the economics of software
   development in that machine time is cheaper than programmer time.

> [...] There is the August 21 89 issue of Government Computer News
> describing the problems which the huge FAA Advanced Automation System is
> having due to IBM Ada implementations and tools (or lack thereof).  

   Are you saying that this is the fault of the *language*, or of IBM?

> There is no real way to call [Ada] from a Cobol program.

   Ada users can call COBOL or any other language using pragma
   INTERFACE; COBOL needs to have a similar standardized means
   of calling other languages.  Given that it does not, ad hoc
   means of calling other languages have been devised; there is
   no reason why such techniques cannot be used to call Ada just
   as well as C or any other language.  But this is COBOL's problem,
   not Ada's.  
    
> the programming style being promulgated by DOD for Ada [descriptive
> variable names] is anti-conducive to the stated goal of readability;  

   To C hackers, who are accustomed to single-letter variables, yes.

   Software engineering specialists tend to have the opposite perspective.

> Second, DOD is often insisting on portability via Ada rather than
> portability via UNIX, POSIX calls etc.  This amounts to such things as
> insisting, for instance, that vendors provide direct Ada hooks to a
> database rather than simply writing an Ada -> C -> database hook.  Typical
> vendor response is either "F... You" or "Manana".

   And the response of the Ada community is to turn to companies
   such as The Ada Ace Group, Inc., a technical consulting company
   specializing in the development of Ada interface to software
   products and applications.  They provide customized pure Ada
   interfaces to existing commercial software products, such as
   databases, operating systems, and specific applications such 
   as X-Windows.  (Contact information: 4254 Indigo Drive, 
   San Jose, CA  95136; (408) 267-8296)  Do you really think the
   Ada community, with its emphasis on standardization and vendor  
   independence, is going to be stopped by an intransigent vendor?

> A military project involving Sun machines and Ada was abandoned after
> something like 4 years and $30 million effort because of unacceptable
> performance;  database screens were taking over a minute to come up.  The
> design work had all been done according to your formula, the individual
> modules had been designed, written, and tested, all according to the
> standard military schedules and formulas (2167 etc.).  Everything seemed
> hunky dory, only when they put the fricking thing together, it was too
> damned slow to use.  And, the remarkable thing is, the very system the
> military insists upon for management of software contracts prevented
> anybody from knowing they were in trouble until four years and millions
> had been blown.  The government people involved were essentially reduced
> to the role of actors in a Greek tragedy.
>  
> Asked for a solution, my firm weighed the choice between offering an Ada-
> to-C converter and silence, and opted for silence.

   How about applying a profiler and recoding the "hot spots"?
   If the slowness of Unix process handling is a problem, then
   a more modern version of Unix should be used.  Your company
   should have considered more than two options.

   There are problems in the government management process, but
   this pertains to the government and not to Ada.


   Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-15 16:06 ` Ada William Thomas Wolfe, 2847 
@ 1989-11-16 19:08   ` Walter Rowe
  1989-11-16 21:33     ` Ada William Thomas Wolfe, 2847 
  0 siblings, 1 reply; 91+ messages in thread
From: Walter Rowe @ 1989-11-16 19:08 UTC (permalink / raw)


Ignore that last one ... got trigger happy ...
----------------------------------------------------------------------
>>>>> On 15 Nov 89 16:06:41 GMT, billwolf@hubcap.clemson.edu (Bill Wolfe) said:

billwolf> This is blatantly false; consider the November 1988
billwolf> article in IEEE Software ("Large Ada projects show
billwolf> productivity gains"):

billwolf> [...irrelevant text deleted...]
billwolf> on the project was counted only once.  Roughly 13 percent of
billwolf> the delivered software was reuseable.

Uhmmm ... correct me if I'm wrong here, but if a project is well
designed (ie. module specs are written to be general), I think there
would be a higher degree of re-usability for those modules, regardless
of the language used.  That's the purpose of writing generalized code.
Any good computer scientist/programmer knows that, right?

Imagine having to write sin(), cos(), etc, for every application you
needed them for.  This would of course be ludicrous, so those in the
know wrote good, generic routines to handle these functions and now
you take them for granted.

What I'm trying to say is that re-usability is not necessarily an
attribute of the programming language being used, but more likely it
is the result of using good system design techniques.  Who cares if
its C++, Ada, C, or Pascal?  If you approach the design correctly,
your solution will be general enough so as to apply to the greatest
number of variations of the same problem.  Thats what re-usability is
all about, isn't it?  Not re-inventing the wheel?

billwolf> Sounds like a continuing *success* to me ...

Sure, but so is Pascal (originally designed as a learning tool), but
its not highly used outside of Academia just like Ada is not highly
used outside of DoD.  Ever wonder why?
   
billwolf> A prime example is Unix; the current POSIX effort aims to
billwolf> standardize 1960's technology, thus resulting in a "lowest
billwolf> common denominator" which locks users into obsolescence.

I disagree.  Its not locking into obsolescence.  Its forcing one to
meet only a minimum set of requirements, which allows a maximum amount
of flexibility above and beyond those requirements.  As long as you
meet these minimum requirements, you still have the freedom to enhance
UNIX any way you see fit.  They aren't restricting you to these, but
saying that you must provide at least these things.

billwolf> Modern programming languages provide a variety of features
billwolf> to support development and maintenance of software products.
billwolf> These features include strong type checking, separate
billwolf> compilation, user-defined data types, data encapsulation,
billwolf> data abstraction, generics, flexible scope rules,
billwolf> user-defined exception handling, and concurrency mechanisms.

I have to agree with Bill on this point: more languages ARE beginning
to evolve into useful tools for productivity, rather than learning
tools, or tools intended for specific applications.  However, I think
in order to be most productive and efficient for a given application,
a language still must cater to that application to some extent (ie.
COBOL for record transaction processing, C for systems programming,
etc).

> [...] There is the August 21 89 issue of Government Computer News
> describing the problems which the huge FAA Advanced Automation
> System is having due to IBM Ada implementations and tools (or lack
> thereof).

billwolf> Are you saying that this is the fault of the *language*, or
billwolf> of IBM?

More than likely its IBM, although most of their projects seem to come
out of a committee, and in that respect, draw a striking resemblance
to Ada.  So, possibly both are at fault since Ada was designed by a
committee, too.  I think the basic point being made is that too many
hands in the pot spoil the soup, and I tend to agree with this.  Its
good to get outside opinions so that one can be as objective as
possible, but I still think that fewer people can supply a much more
rational decision.

> the programming style being promulgated by DOD for Ada [descriptive
> variable names] is anti-conducive to the stated goal of readability;  

billwolf> To C hackers, who are accustomed to single-letter variables,
billwolf> yes.  Software engineering specialists tend to have the
billwolf> opposite perspective.

Admittedly, I fall into the C hacker category, but I think Ted makes a
valid point here.  I'd much prefer to shuffle through a few pages of
documentation at the top of a print-out than have to look at unsightly
long variable/procedure/function names.  I support giving variables
meaningful names, just not unsightly long ones.

If the docs are good at the top of a file are good (ie. they clearly
and concisely convey the concept of what this code is suppposed to
do), then you shouldn't have to clutter the code with paragraph long
names.  You're trying to infer the logic being applied, not the
details of the individual statements (for alone they mean nothing
anyway).

billwolf> Bill Wolfe, wtwolfe@hubcap.clemson.edu

Walter Rowe, rowe@cme.nist.gov
---
My opinions are my own, and bare no reflection of the opinions
of the United States Government.

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-16 19:08   ` Ada Walter Rowe
@ 1989-11-16 21:33     ` William Thomas Wolfe, 2847 
  1989-11-17 18:53       ` Ada Pablo Fernicola
  1989-11-18  6:38       ` Ada Marco S Hyman
  0 siblings, 2 replies; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1989-11-16 21:33 UTC (permalink / raw)


From rowe@cme.nist.gov (Walter Rowe):
> Sure, but so is Pascal (originally designed as a learning tool), but
> its not highly used outside of Academia just like Ada is not highly
> used outside of DoD.  Ever wonder why?

   The fact that good production-quality compilers have only been
   avaliable for the last year or two probably has a lot to do with it...

   Fortunately, as the IEEE Software article I cited demonstrates, 
   commercial use and acceptance of Ada is growing rapidly, both in 
   the US and overseas.  Non-DoD US users include General Electric, 
   Boeing Commercial Airplane, etc.; other companies, such as Arthur 
   Anderson, are considering converting to Ada now that the appropriate 
   compilers and tools are available.  Not because the DoD is using it,
   but as a simple result of business and engineering considerations. 

   Considering that the largest corporation in the WORLD, Nippon 
   Telegraph and Telephone, has maintained a committment to Ada 
   since 1982 (!!!), I'd say that Ada is certainly making excellent 
   progress in the commercial environment.  The fact that the
   DoD is requiring all its information systems work to be done
   in Ada is creating a great deal of infrastructure (e.g., the
   RAPID library of reuseable Ada information systems software
   components), which will further stimulate commercial use.  

   The experience so far has been that "once a team moved to Ada,
   they stayed with Ada.  Once Ada had been successfully used within
   a company, its use proliferated to other projects within the 
   company and to subcontractors and suppliers of that company within
   the industry."  (Ada Letters, Vol. VIII, No. 5, page 15).  Given
   that high-quality compilers have only been available for a relatively
   short period of time, and that the US Ada market was already US $1.25 
   billion as of September 1987, I think the progress so far has been 
   quite substantial.  Watch comp.lang.ada for continued updates.


   Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-16 21:33     ` Ada William Thomas Wolfe, 2847 
@ 1989-11-17 18:53       ` Pablo Fernicola
  1989-11-18 18:55         ` Ada William Thomas Wolfe, 2847 
  1989-11-18  6:38       ` Ada Marco S Hyman
  1 sibling, 1 reply; 91+ messages in thread
From: Pablo Fernicola @ 1989-11-17 18:53 UTC (permalink / raw)


In article <7088@hubcap.clemson.edu> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
>
>   Fortunately, as the IEEE Software article I cited demonstrates, 
>   commercial use and acceptance of Ada is growing rapidly, both in 

In IEEE Software, Vol.5 Num. 3 page 26, we read

	"C++ has several advantages over Ada: ..."

>
>   The experience so far has been that "once a team moved to Ada,
>   they stayed with Ada.  Once Ada had been successfully used within
>   a company, its use proliferated to other projects within the 
>   company and to subcontractors and suppliers of that company within
>   the industry."  (Ada Letters, Vol. VIII, No. 5, page 15).  Given
		     ^^^^^^^^^^^^
		     Not a biased opinion, I hope :-)

A common syllogism nowadays is (from the same IEEE Software issue)

	Ada is good; object-oriented is good;
	therefore, Ada is object oriented.


>   Bill Wolfe, wtwolfe@hubcap.clemson.edu

BTW, it is good to hear from Bill again after the misc.jobs.misc debacle ...
--
pff@beach.cis.ufl.edu - Pablo Fernicola - Machine Intelligence Laboratory - UF
		IF YOU CARE ENOUGH TO READ SIGNATURES ...
	I am graduating next year and I am looking for a job.  
MS/BS EE, my graduate work incorporates OO-DBMS/Graphics/Robotics/AI

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-16 21:33     ` Ada William Thomas Wolfe, 2847 
  1989-11-17 18:53       ` Ada Pablo Fernicola
@ 1989-11-18  6:38       ` Marco S Hyman
  1 sibling, 0 replies; 91+ messages in thread
From: Marco S Hyman @ 1989-11-18  6:38 UTC (permalink / raw)


In article <7088@hubcap.clemson.edu> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
       Non-DoD US users include General Electric, 
       Boeing Commercial Airplane, etc.; other companies, such as Arthur 
       Anderson, are considering converting to Ada now that the appropriate 
       compilers and tools are available.  Not because the DoD is using it,
       but as a simple result of business and engineering considerations. 

Large corporations such ad GE, Boeing, Arthur Anderson, etc., are not known
for state-of-the-art, pushing-the-envelope solutions to their problems.
These are the companies that buy IBM.  Ada is safe, approved by the
government, and, as I once heard Larry Rossler of the HP Language Labs
describe it, doomed to success.  Too many companies are throwing money at it
to fail.

       The experience so far has been that "once a team moved to Ada,
       they stayed with Ada.  Once Ada had been successfully used within
       a company, its use proliferated to other projects within the 
       company and to subcontractors and suppliers of that company within
       the industry."  (Ada Letters, Vol. VIII, No. 5, page 15).

I don't have any facts or figures but I suspect from my own past experience
that this is true of every successful tool/method introduced to a large
corporation.  A manager that tries something new usually goes out on a limb
and therefore works twice as hard to make it succeed.  When it does succeed
that manager makes sure all of his bosses know that he was the hero that
finally brought a software project in on time and within budget.  Since
software projects are not usually on time or within budget the new
tool/method is seen as the solution to all software woes.  Alas, it's
usually just better management plus the productivity increase that comes
with doing something new that really saved the day.

I'm not saying the new tool/method, be it Ada, C++, OOP, or whatever, does
not help.  I just wish that it wasn't seen as a panacea for all that ails
the current problems in software.  (BTW:  the current problems in software
haven't changed, IMHO, in the last 20 years -- there's just a lot more
software.) But I've changed the subject.  Sorry.

C++ and Ada are just tools, folks.  Sometimes they are the correct
tool for the job.  Sometimes they are not.

// marc
-- 
// Marco S. Hyman		{ames,pyramid,sun}!pacbell!dumbcat!marc

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-17 18:53       ` Ada Pablo Fernicola
@ 1989-11-18 18:55         ` William Thomas Wolfe, 2847 
  1989-11-21  5:24           ` Ada Andrew Koenig
  0 siblings, 1 reply; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1989-11-18 18:55 UTC (permalink / raw)


From pff@beach.cis.ufl.edu (Pablo Fernicola):
> In IEEE Software, Vol.5 Num. 3 page 26, we read
> 
> 	"C++ has several advantages over Ada: ..."

   But unfortunately seems to be missing fundamental features
   such as exceptions, generics, and concurrency...

> A common syllogism nowadays is (from the same IEEE Software issue)
> 
> 	Ada is good; object-oriented is good;
> 	therefore, Ada is object oriented.

   Written by the designer of C++, whose definition of object-oriented
   is "Object-oriented programming is programming using inheritance".

   The definition of "object-oriented" varies widely, but even if we
   accept this definition, we need only obtain Classic Ada (or some 
   equivalent preprocessing product) in order to use inheritance in
   an Ada environment, pending more direct support in Ada 9X.


   Bill Wolfe, wtwolfe@hubcap.clemson.edu
 
   

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-19  3:33 A farewell to Ada Ted Holden
@ 1989-11-19 17:59 ` William Thomas Wolfe, 2847 
  0 siblings, 0 replies; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1989-11-19 17:59 UTC (permalink / raw)


From ted@grebyn.com (Ted Holden):
>>   Total rubbish; C++ retains all the low-level and dangerous
>>   facilities of C, which is obsolescent by modern software
>>   engineering standards.  As stated by Fairley (Software
>  
> Those features are there because they are necessary for real world
> programming. 

   Would you care to try to prove this, for the benefit of 
   those of us who could really use a few good laughs?  (But
   do us a favor and read a few SOFTWARE ENGINEERING texts
   before you try, so we won't have to waste too much effort
   giving you references...)

>>> There is no real way to call [Ada] from a Cobol program.
>  
>>   Ada users can call COBOL or any other language using pragma
>>   INTERFACE; COBOL needs to have a similar standardized means
>>   of calling other languages.  Given that it does not, ad hoc
>>   means of calling other languages have been devised; there is
>>   no reason why such techniques cannot be used to call Ada just
>>   as well as C or any other language.  But this is COBOL's problem,
>>   not Ada's.
>  
> Dead wrong.  This is a grey area, but Ada tasking basically requires
> that the starting point be an Ada program i.e. predictable results/full
> Ada functionality are not possible from an Ada module called from a
> routine written in another language.  The requirements to link
> low-level kinds of routines into Cobol programs are very real.  Every
> Ada manual I've seen says that results from such code are unpredictable.

   Is this the Ada Reference Manual (and thus pertaining to Ada),
   or specific manuals for specific compilers?  If the latter, then
   this may be a property of particular compilers, but is NOT an
   inherent property of Ada.  Thus, it becomes the user's responsibility
   to find a vendor which will provide a compiler which will satisfy the
   user's requirements relative to SOME OTHER LANGUAGE in addition to 
   the requirements of the Ada LRM.  
 
> First, the problem with performance didn't involve UNIX.  Second, to my
> knowledge, the vender only offers the one version for the machine.
> Again, the customer was not John Rockafeller.

   Oh, I see.  It is somehow Ada's fault that compilers are not available
   for pennies (if that) which will do everything imaginable on all possible
   machines, particularly when management failed to do a good job of compiler
   evaluation before starting the project and now needs to find a better 
   compiler than the one MANAGEMENT selected in order to save the project. 

   C'mon, Ted, admit it!!!  You're trying to blame Ada for everything
   under the sun, REGARDLESS of whose fault it really was.  Get a life... 
 
> The obvious implication is that these other machines, which are quite
> powerful, yet lack the capability for serious Ada development.  Why is
> that?  IBM, DEC, and Sun computers can easily be used to develope
> software in C, Fortran, Pascal, C++, Cobol...
   
   And Ada.  Rational offers a very powerful CASE environment which
   far surpasses anything being used by the C, Fortran, Pascal, etc.
   crowd.  One major reason for this is that users of those languages
   generally operate as programmers, whereas Ada users generally operate
   as software engineers.  This results in Ada users having much higher
   standards, both for their language and for their CASE environments.

   Competition is arising for Rational in the form of the TeleArcs
   CASE environment for the Suns and VAXen; given Telesoft's association
   with IBM, it will probably soon be available there as well.  And of
   course there are other vendors playing the game as well.  So although
   Ada software has long been developed on all of the above platforms
   without advanced CASE environments, that era is quickly departing.
 
% Aside from myself, who is saying that the end is near for Ada?
% Possibly, a certain Mr. Gorbachov in the CCCP, who is basically
% declaring the cold war to be over, and a Mr. Cheney in Washington D.C.
% who is talking about cutting 180 Billion from the U.S. defense budget
% over the next five years (Wash. Post, A1, Nov 18, 89).  Anybody care to
% bet that Ada doesn't become one of the first casualties of all this?

   Yep.

% The last figures I've read indicated that 65 percent of all
% software development in this world was being done in C, and the next
% highest figure for any other language was around six percent.  Are
% Borland, MicroSoft, Lotus, Ashton-Tate, WordPerfect, and all of
% those companies just that stupid?

   Considering the number of articles I've read recently in the 
   Wall Street Journal about the software crisis at Microsoft,
   et al., this would seem to be a rather reasonable conclusion.


   Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-18 18:55         ` Ada William Thomas Wolfe, 2847 
@ 1989-11-21  5:24           ` Andrew Koenig
  1989-11-22  9:54             ` Ada Mats Luthman
                               ` (2 more replies)
  0 siblings, 3 replies; 91+ messages in thread
From: Andrew Koenig @ 1989-11-21  5:24 UTC (permalink / raw)


In article <7115@hubcap.clemson.edu>, billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) writes:

>    Written by the designer of C++, whose definition of object-oriented
>    is "Object-oriented programming is programming using inheritance".

Where on earth did you pick up that notion?
-- 
				--Andrew Koenig
				  ark@europa.att.com

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-21  5:24           ` Ada Andrew Koenig
@ 1989-11-22  9:54             ` Mats Luthman
  1989-11-22 18:44             ` Ada William Thomas Wolfe, 2847 
  1989-11-23  7:12             ` Ada Markku Sakkinen
  2 siblings, 0 replies; 91+ messages in thread
From: Mats Luthman @ 1989-11-22  9:54 UTC (permalink / raw)


In article <7115@hubcap.clemson.edu>, billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) writes:

>    Written by the designer of C++, whose definition of object-oriented
>    is "Object-oriented programming is programming using inheritance".

As far as I recall Bjarne Stroustrup supports the widely accepted definition
of "Object oriented language":

  A language that supports:

*  Data abstraction (encapsulation)
*  Inheritance
*  Dynamic binding

I guess that people who claim that Ada is object oriented don't agree with
this definition, at least not with the third requirement, but saying what
I cited above is (and was probably meant to be) an insult to B.S. and his
intellectual capability.

Mats Luthman

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-21  5:24           ` Ada Andrew Koenig
  1989-11-22  9:54             ` Ada Mats Luthman
@ 1989-11-22 18:44             ` William Thomas Wolfe, 2847 
  1989-11-23  9:44               ` Ada Mats Luthman
  1989-11-23  7:12             ` Ada Markku Sakkinen
  2 siblings, 1 reply; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1989-11-22 18:44 UTC (permalink / raw)


From ark@alice.UUCP (Andrew Koenig):
> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
>>    Written by the designer of C++, whose definition of object-oriented
>>    is "Object-oriented programming is programming using inheritance".
> 
> Where on earth did you pick up that notion?

    From his article "What is Object-Oriented Programming", IEEE
    Software, May 1988... it's a direct quote.


    Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-21  5:24           ` Ada Andrew Koenig
  1989-11-22  9:54             ` Ada Mats Luthman
  1989-11-22 18:44             ` Ada William Thomas Wolfe, 2847 
@ 1989-11-23  7:12             ` Markku Sakkinen
  2 siblings, 0 replies; 91+ messages in thread
From: Markku Sakkinen @ 1989-11-23  7:12 UTC (permalink / raw)


In article <10171@alice.UUCP> ark@alice.UUCP (Andrew Koenig) writes:
-In article <7115@hubcap.clemson.edu>, billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu (William Thomas Wolfe, 2847 ) writes:
-
->    Written by the designer of C++, whose definition of object-oriented
->    is "Object-oriented programming is programming using inheritance".
-
-Where on earth did you pick up that notion?

I would say that is the main theme of Stroustrup's paper from ECOOP'87
(What is "Object-Oriented Programming), a little simplified.
So, where on earth = in Paris (site of ECOOP'87) :-)
Obviously, it is hard to maintain that languages such as Ada and CLU
are not "object-oriented" in the least, unless one takes inheritance
as the single most important concept of OO.

Markku Sakkinen
Department of Computer Science
University of Jyvaskyla (a's with umlauts)
Seminaarinkatu 15
SF-40100 Jyvaskyla (umlauts again)
Finland

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1989-11-22 18:44             ` Ada William Thomas Wolfe, 2847 
@ 1989-11-23  9:44               ` Mats Luthman
  0 siblings, 0 replies; 91+ messages in thread
From: Mats Luthman @ 1989-11-23  9:44 UTC (permalink / raw)


In article <7171@hubcap.clemson.edu> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
>From ark@alice.UUCP (Andrew Koenig):
>> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
>>>    Written by the designer of C++, whose definition of object-oriented
>>>    is "Object-oriented programming is programming using inheritance".
>> 
>> Where on earth did you pick up that notion?
>
>    From his article "What is Object-Oriented Programming", IEEE
>    Software, May 1988... it's a direct quote.
>
>
>    Bill Wolfe, wtwolfe@hubcap.clemson.edu


The article is 21 pages long, and is a thorough explanation of what
the author means by 'object oriented programming'. The trick of chosing
one sentence, ripped out of its context, is used again.

Mats Luthman











***

^ permalink raw reply	[flat|nested] 91+ messages in thread

* ADA
@ 1990-03-08 18:46 jj
  0 siblings, 0 replies; 91+ messages in thread
From: jj @ 1990-03-08 18:46 UTC (permalink / raw)


PLEASE YOU WILL PARDON ME BECAUSE I AM A
NEW USER AND THIS IS MY FIRST POST.  

FROM WHAT I HAVE READ IN THIS BBS IF
YOU USE ADA YOUR PROGRAMS WILL NOT
HAVE ANY BUGS.  I THINK THAT
WOULD BE A VERY GOOD THING.  I 
THINK EVERYONE SHOULD USE ADA SO
THEIR WILL NOT BE ANY MORE BUGS.

PLEASE TELL ME HOW TO GET ADA FOR
MY RADIO SHACK COLOR COMPUTER (I 
USED IT AS A TERMINAL TO TYPE THIS IN).  

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1990-03-12  2:14 A Poor Man's Ada Library Ted Holden
@ 1990-03-12  5:08 ` William Thomas Wolfe, 2847 
  1990-03-15 20:32   ` Ada William B. Tyler
  0 siblings, 1 reply; 91+ messages in thread
From: William Thomas Wolfe, 2847  @ 1990-03-12  5:08 UTC (permalink / raw)


From article <19452@grebyn.com>, by ted@grebyn.com (Ted Holden):
> Object-oriented programming is the only thing which could possibly
> help some of the giant projects which are now mandated to be done
> in Ada.  Ada doesn't have it now.  Ada probably won't have it with
> the 9x version, which will likely include mostly fixes for some of
> the present bugs and woes, and given the speed of the process
> involved, the 9x standard will probably be out in about a year, a
> first compiler in four years, and first near-reasonable compilers
> in seven or ten years.  This probably says 14+ years for object-
> oriented Ada.

   Regrettably for Mr. Holden, object-oriented Ada is available right
   now.  Software Productivity Solutions has a product called Classic
   Ada which serves as a Smalltalk-based object-oriented preprocessor 
   for Ada-language software developers.  Another object-oriented approach
   along the lines of Zetalisp's Flavors (InnovAda) will soon be on the 
   market as well.  But Ted Holden will never let reality interfere with 
   his point of view, as he has so repeatedly demonstrated. 

> Ada "gurus" are constantly talking about the advantage of Ada for
> team projects, but here Sommerville/Morrison are making the point
> that the do-everything language is so complex that the only team
> likely to succeed at doing anything at all with it is the local
> chapter of Mensa.

   Well, Ted, if you aren't bright enough to handle Ada, I suggest that
   you stay away from it.  However, you should keep in mind that STANFINS-R
   has recently demonstrated that even COBOL programmers can be turned into
   effective Ada software engineers.  Perhaps you should therefore see to it
   that you refrain from using any language more sophisticated than COBOL!
 

   Bill Wolfe, wtwolfe@hubcap.clemson.edu

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1990-03-12  5:08 ` Ada William Thomas Wolfe, 2847 
@ 1990-03-15 20:32   ` William B. Tyler
  1990-03-16 14:08     ` Ada Dennis M. O'Connor
  0 siblings, 1 reply; 91+ messages in thread
From: William B. Tyler @ 1990-03-15 20:32 UTC (permalink / raw)


In article <8322@hubcap.clemson.edu> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
>
>   Regrettably for Mr. Holden, object-oriented Ada is available right
>   now.  Software Productivity Solutions has a product called Classic
>   Ada which serves as a Smalltalk-based object-oriented preprocessor 
>   for Ada-language software developers.  Another object-oriented approach
>   along the lines of Zetalisp's Flavors (InnovAda) will soon be on the 
>   market as well.  But Ted Holden will never let reality interfere with 
>   his point of view, as he has so repeatedly demonstrated. 
>

Wolfe's response serves to reinforce Holden's point.  Ada, the language,
has no capability for object oriented programming.  Use of these 
extensions amounts to use of a different language, especially since 
Ada admits no extensions by definition.

>   Well, Ted, if you aren't bright enough to handle Ada, I suggest that
>   you stay away from it.  

This seems to be an admission that Ada has failed in a very important
area of language design.  If it requires brilliance for proper use,
it is certainly inappropriate as a vehicle for implementing large
projects with many programmers, some at least of whom will be of
average intelligence.

Why don't you give it a rest, Wolfie?  At least try keeping out of
the C newsgroup.
-- 
Bill Tyler				...(tolerant|hpda)!procase!tyler

^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1990-03-15 20:32   ` Ada William B. Tyler
@ 1990-03-16 14:08     ` Dennis M. O'Connor
  0 siblings, 0 replies; 91+ messages in thread
From: Dennis M. O'Connor @ 1990-03-16 14:08 UTC (permalink / raw)


"[...*...]" below means I've deleted something I consider an ad-hominem,
that IMHO added nothing constructive to the conversation. My apologies
if I offend anyone.

tyler@procase (William B. Tyler) writes:
] In article <...> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes:
] > [...*...]
] >   Software Productivity Solutions has a product called Classic Ada
] >    which serves as a Smalltalk-based object-oriented preprocessor 
] >   for Ada-language software developers.  Another object-oriented approach
] >   along the lines of Zetalisp's Flavors (InnovAda) will soon be on the 
] >   market as well. 
] > [...*...]
] 
] [...*...]  Ada ... has no capability for object oriented programming.

My understanding is that "support for OOP" is not a YES-NO question.
IMHO, Ada does support objects, if not OOP : does not a package represent
a passive object, and a task represent an active one ? Doesn't a
"task type" has all the characteristics of a class (and even more) ?
What Ada doesn't support is inheritance. So, Ada's support for OOP
is limited, not non-existant. It's support for Object-Oriented Design
(OOD) is a different issue.

] Use of these extensions amounts to use of a different language, especially
] since Ada admits no extensions by definition.

However, if you believe that the primary benefit of OOP is found in
the design stage (OOD), then using something like Classic Ada for design,
and then automatically translating it into Ada (which is, I believe,
how these products work) is probably an option even in an "Ada-only"
project. (Any DoD project participants care to comment ?) It is certainly
an option for those who use Ada because they like the features of the
language, not because of a DoD mandate. Yes, such people exist. ;-)

] >  [...*...] if you aren't bright enough to handle Ada, I suggest that
] >   you stay away from it.  
] 
] This seems to be an admission that Ada has failed in a very important
] area of language design.  If it requires brilliance for proper use,
] it is certainly inappropriate as a vehicle for implementing large
] projects with many programmers, some at least of whom will be of
] average intelligence.

What is this "you gotta be smart to use Ada" stuff anyway ? Let's
face it : if you are using the complex features of any language, it
should be because the design is complex, not because of the the
language you are implementing in. And if the design is complex,
you'd better be smart no matter what language you use.

If a language forces you to implement a simple design in
a complex way, I`d say it's flawed. Feel free to point
out such flaws in Ada to the Ada-9X commitee, please !

In a large project with programmers of varying degrees of talent,
"average" (yuck I hate that word) programmers should be assigned
tasks of "average" difficulty, and the tough stuff should be
done by the most talented people. This, like many other issues,
is language-independant.

It has to be admitted, of course, that many languages wind up associated 
with a particular design methodology and project management philosophy.
But "correlation is not causation", eh ?

] Why don't you give it a rest [...] try keeping out of the C newsgroup.

I don't really understand the emnity between some of the C and Ada
proponents. Why the emotions ? What are people afraid of ? So
one or both languages doesn't take over the world, so what ?
Eventually (I hope) both will be obsolete in their present forms.
Hopefully, both can learn form each other, and evolve into
something better.

Nobody should mind constructive criticism, eh ?
--
  Dennis O'Connor      OCONNORDM@CRD.GE.COM      UUNET!CRD.GE.COM!OCONNOR
  "Let's take a little off the top ... a bit off the sides ...
    trim the back a bit ... Surprise ! You've been bald-ed !"

^ permalink raw reply	[flat|nested] 91+ messages in thread

* ADA
@ 1996-06-14  0:00 Robert Adams
  0 siblings, 0 replies; 91+ messages in thread
From: Robert Adams @ 1996-06-14  0:00 UTC (permalink / raw)



Need some useful packages for ADA programming.  Please leave 
email at RAdams9348@gnn.com.

Thanks,
Robert





^ permalink raw reply	[flat|nested] 91+ messages in thread

* ada
@ 1996-08-05  0:00 BCummi6553
  0 siblings, 0 replies; 91+ messages in thread
From: BCummi6553 @ 1996-08-05  0:00 UTC (permalink / raw)



I just started and I haveing trouble with trying to get my program to
calulate scores
entered that our unlimited and displaying how to show how many were
entered. Can you help me or tell me where to get help.

BCummin6553.aol.com




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Ada
@ 1997-08-23  0:00 Jeffrey D. Iverson
  0 siblings, 0 replies; 91+ messages in thread
From: Jeffrey D. Iverson @ 1997-08-23  0:00 UTC (permalink / raw)



At http://www.iversonsoftware.com/ada.html we've created a FREE online
directory of professional consultants and developers for Ada. We
currently have 22 entries.

You'll also find a job board where you can see opportunities for work, a
discussion board where you can post questions or find answers, and a
bookstore.

I hope you'll visit soon!
-- 

 Jeffrey D. Iverson         j5rson@iversonsoftware.com
 Iverson Software Co.       http://iversonsoftware.com/




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Ada
@ 1997-10-28  0:00 N6101233
  0 siblings, 0 replies; 91+ messages in thread
From: N6101233 @ 1997-10-28  0:00 UTC (permalink / raw)



I realise that this group is about Ada the language, but I'm desperately
try to find out some stuff about obstacles she had as a female scientist
and why here work has only recently been acknowledged.  If any one
knows, or knows of a group that might - I'd really appreciate!

Robin




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 Ada Brijesh
                   ` (3 preceding siblings ...)
  1999-12-23  0:00 ` Ada Roger Racine
@ 1999-12-23  0:00 ` Greg Martin
  4 siblings, 0 replies; 91+ messages in thread
From: Greg Martin @ 1999-12-23  0:00 UTC (permalink / raw)


On Thu, 23 Dec 1999 11:11:12 +0000, Brijesh <brijesh.malkan@gecm.com>
wrote:

>I am fairly new to Ada programming and have a rather trivial question I
>was hoping the group could help answer.
>
>I understand Ada is a very powerful language but is not used much
>outside the defence industry, I was woderign if this is a correct
>assumption and if so why is this the case - and if not where else is it
>used.
>
Hi Brij.
I'm new to Ada as well but I can tell you it is used in other areas
where software might be considered mission critical. I'm Canadian and
know it to be used for air traffic control here (and elsewhere I
suspect) and software our space agency uses. In general it's used for
on board aircraft applications. It seems to be a small part of the
market but it's definately there. You might try searching on Ada jobs
or something similiar.
Regards,
Greg Martin.





^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 Ada Brijesh
  1999-12-23  0:00 ` Ada Robert Dewar
  1999-12-23  0:00 ` Ada Jon Jensen
@ 1999-12-23  0:00 ` reason67
  1999-12-23  0:00   ` Ada Robert Dewar
  1999-12-23  0:00 ` Ada Roger Racine
  1999-12-23  0:00 ` Ada Greg Martin
  4 siblings, 1 reply; 91+ messages in thread
From: reason67 @ 1999-12-23  0:00 UTC (permalink / raw)


In article <38620350.48F8FC08@gecm.com>,
  Brijesh <brijesh.malkan@gecm.com> wrote:
> I am fairly new to Ada programming and have a rather trivial question
I
> was hoping the group could help answer.
>
> I understand Ada is a very powerful language but is not used much
> outside the defence industry, I was woderign if this is a correct
> assumption and if so why is this the case - and if not where else is
it
> used.

In the USA around 1% of comercial software was written in Ada. So, your
assumption is correct.

I don't think anyone knows the reasons for sure. My personal speculation
is economic. Until fairly recently Ada compilers were very expensive
compared to C. When you buya Unix platform you got C for free with it.
(This is also why FORTRAN was so popular as it was free on old IBM
Mainfraims).

I do not have a crystal ball, but Ada could pick up. From the recent
expansion of Parallel Virtual Machine architectures, I think parallel
computing is going to be really big in a few years. The Ada runtime
could be modified to support PVM or other methods, so you could easily
port code from a 1000 machine cluster to a 5 machine cluster.

I do not know if anyone is working on this currently. After the
Holidays, I planned on looking at writing a binding to PVM for gnat 3.12
on Linux. If successful I wanted to look into using PVM as the tasking
model (instead of pthreads), but I have done almost no research at this
time.

IF Ada can be successfully merged with this new clusters, then Ada has a
real shot at being much bigger in the USA. Esp. if people
start writing parallel virtual machine libraries in Ada as
well.

Unfortunately, if I was just starting out, I would not look into Ada for
a long term career in the USA. I think I would look much more heavily
into C++.
---
Jeffrey Blatt


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 Ada Brijesh
  1999-12-23  0:00 ` Ada Robert Dewar
@ 1999-12-23  0:00 ` Jon Jensen
  1999-12-23  0:00 ` Ada reason67
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 91+ messages in thread
From: Jon Jensen @ 1999-12-23  0:00 UTC (permalink / raw)


As someone who started doing Ada programming in 1987 I think the answer to
your question is simple:

The PC and Windows

In the 80's when Ada was first introduced, it was overshadowed by the
introduction of the PC and the drastic change the PC brought into industry.
This was compounded by the lack of inexpensive, high quality Ada compilers,
debuggers and tools on the PC.  As developers migrated from mainframe and
minicomputer development to PC development they didn't see Ada as a viable
alternative to the Pascal and C compilers that were available.

A similar change happened in the early 90's when developers migrated from
MS-DOS programming to Windows programming on the PC.  Again Ada was late to
the game in coming up with competitive compilers for Windows.  Again Ada was
ignored by most Windows developers.

Could it have been different?  I don't think so.  Any time any language is
mandated by law as opposed to being adopted as a defacto industry standard,
it is going to have an uphill struggle.

There seems to be a perception in this news group and in the Ada industry
that programming in Ada somehow makes your programs error proof.  Ada
certainly has features that make it less likely to program certain kind of
errors but you can certainly write bad code in Ada just as in any other
language.  Java purists would say that because Ada (and other languages)
allow pointers, programs developed with those languages are error prone.

There are still a lot of opportunities for Ada development out there.  I am
sure there is a lot of embedded systems work that is being done with it and
some commercial applications.  In these narrow areas you can certainly make
a living programming in Ada.  Ada development (done right) can also teach
you some wonderful things about resuability and modularity.  It isn't a
silver bullet.


Brijesh <brijesh.malkan@gecm.com> wrote in message
news:38620350.48F8FC08@gecm.com...
> I am fairly new to Ada programming and have a rather trivial question I
> was hoping the group could help answer.
>
> I understand Ada is a very powerful language but is not used much
> outside the defence industry, I was woderign if this is a correct
> assumption and if so why is this the case - and if not where else is it
> used.
>
> Thanks,
>
> Brij
>






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 ` Ada reason67
@ 1999-12-23  0:00   ` Robert Dewar
  2000-01-03  0:00     ` Ada Terry Sikes
  0 siblings, 1 reply; 91+ messages in thread
From: Robert Dewar @ 1999-12-23  0:00 UTC (permalink / raw)


In article <83tohh$q2s$1@nnrp1.deja.com>,
  reason67@my-deja.com wrote:
> In article <38620350.48F8FC08@gecm.com>,
>   Brijesh <brijesh.malkan@gecm.com> wrote:
> > I am fairly new to Ada programming and have a rather trivial
question
> I
> > was hoping the group could help answer.
> >
> > I understand Ada is a very powerful language but is not used
much
> > outside the defence industry, I was woderign if this is a
correct
> > assumption and if so why is this the case - and if not where
else is
> it
> > used.
>
> In the USA around 1% of comercial software was written in Ada.
So, your
> assumption is correct.


I wonder where that figure of 1% comes from. If true, it means
that Ada is widely used, since this is 1% of an absolutely HUGE
market (1% is much higher than you think, once you have
subtracted out the really popular languages like COBOL and
Visual Basic, the latter accounting for the lion's share of
all software development).

In fact I suspect the figure is below 1%, but again, we are
talking percentages of a huge market, so even a sliver of this
can be highly significant. After all what percentage of the
over all automobile market does Ferrari have or Rolls Royce,
yet we still consider these technologies significant :-)

Certainly we all know lots of examples of successful commercial
use of Ada.

There seems to be a general tendency to write off technologies
that do not dominate the market. I can't tell you how many
people I meet who think OS/2 is dead, when in fact it is being
very successful in many contexts (and has exceeded sales
expectations every quarter for the last 5 or 6 quarters). Sure
it does not have the market share of Windows, but this again is
a huge market, and OS/2 has a significant share.

A similar situation exists with Ada. Of course it is not
numerically as successful as C++ for example, but that really
does not mean much. If you need the most reliable and best
technology around, you do not take a poll to see what is the
most commonly used technology!


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 ` Ada Robert Dewar
@ 1999-12-23  0:00   ` tmoran
  0 siblings, 0 replies; 91+ messages in thread
From: tmoran @ 1999-12-23  0:00 UTC (permalink / raw)


>Ada has many non-DoD applications, go to www.adapower.com to
>follow up on more information, but here are some examples:
>...
>etc.
  One etc I know about is stocks and commodities databases for
speculators, er, investors.  All databases, and the daily data,
have errors, which show up as oddballs on graphs, or, worse,
screw up technical analysis algorithms.  A system I worked on
used Ada to help cleaning and merging data.  It was useful as a
good language to help avoid introducing new errors, the
run-time error checking helped catch unexpected errors, and
tasking let it easily display questionable data to a human
asynchronously with scanning the data.  This was about 5 years
ago, at the beginning of the present on-line trading craze.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Ada
@ 1999-12-23  0:00 Brijesh
  1999-12-23  0:00 ` Ada Robert Dewar
                   ` (4 more replies)
  0 siblings, 5 replies; 91+ messages in thread
From: Brijesh @ 1999-12-23  0:00 UTC (permalink / raw)


I am fairly new to Ada programming and have a rather trivial question I
was hoping the group could help answer.

I understand Ada is a very powerful language but is not used much
outside the defence industry, I was woderign if this is a correct
assumption and if so why is this the case - and if not where else is it
used.

Thanks,

Brij





^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 Ada Brijesh
@ 1999-12-23  0:00 ` Robert Dewar
  1999-12-23  0:00   ` Ada tmoran
  1999-12-23  0:00 ` Ada Jon Jensen
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 91+ messages in thread
From: Robert Dewar @ 1999-12-23  0:00 UTC (permalink / raw)


In article <38620350.48F8FC08@gecm.com>,
  Brijesh <brijesh.malkan@gecm.com> wrote:
> I understand Ada is a very powerful language but is not used
much
> outside the defence industry, I was woderign if this is a
correct
> assumption and if so why is this the case - and if not where
else is it
> used.
>
> Thanks,


Never believe such rumours, they are almost always wrong. It
is interesting that there is a whole series of technologies that
has important current applications, but which conventional
wisdom pronounces dead (examples, APL, OS/2, Pascal, PL/1, and
yes, Ada :-)

Ada has many non-DoD applications, go to www.adapower.com to
follow up on more information, but here are some examples:

Train switching systems (soon to be adopted by the NY subway)
Internet switches
Medical equipment
Commercial airplaces (ever flown on a 777 - it's an all Ada
plane)
Cable TV (Canal Plus in Europe)
Air Traffic Control Systems
Eurospace
Banking applications
etc.



Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 Ada Brijesh
                   ` (2 preceding siblings ...)
  1999-12-23  0:00 ` Ada reason67
@ 1999-12-23  0:00 ` Roger Racine
  1999-12-28  0:00   ` Ada Marin D. Condic
  1999-12-23  0:00 ` Ada Greg Martin
  4 siblings, 1 reply; 91+ messages in thread
From: Roger Racine @ 1999-12-23  0:00 UTC (permalink / raw)


On Thu, 23 Dec 1999 11:11:12 +0000, Brijesh <brijesh.malkan@gecm.com>
wrote:

>I am fairly new to Ada programming and have a rather trivial question I
>was hoping the group could help answer.
>
>I understand Ada is a very powerful language but is not used much
>outside the defence industry, I was woderign if this is a correct
>assumption and if so why is this the case - and if not where else is it
>used.
>
>Thanks,
>
>Brij
>

You actually have 2 questions, only 1 of which is trivial:

1) Is Ada used much outside the defence industry?

2) If not, why not; if so where?

1) Ada is not used "much" anywhere, inside or outside the military, if
you compare it with C.  It is, however, being used by "many"
organizations both within and outside the military.  This should be a
trivial question since the number is some finite countable positive
integer.  Unfortunately, I do not think anyone knows the exact number.

2) Ada is being used in communication systems (TopLayer is one
example), airplanes (Boeing), space systems (NASA), teaching,
compilers (ACT), etc.  The list is not small unless it is compared
with the equivalent list of C projects.

The hard part of your second question is "why not?"  There are so many
reasons, none of which are very "good" (which is why those of us who
still advocate its use are still doing so).  At the risk of getting
into another language war, here goes:

1) Control theory.  C is in a positive control loop; Ada is in a
negative loop.  C is popular.  Therefore people want C on their
resumes.  Therefore people want to do projects in C.  Therefore
companies provide tools for C development.  Therefore libraries for C
are written.  Ada is not popular.  Therefore people do not want Ada on
their resumes.  I know of people who have threatened to quit if they
were forced to use Ada, since they thought they were becoming
unwanted. 

2) Time to Market.  Ada is a readable language.  C is a writeable
language.  People think they are more productive using C because they
get to integration faster, and they might get a software system to
market sooner than with Ada.  Ada will allow people to find certain
errors more easily, but this is not perceived to be a significant
enough improvement, and for most commercial software, getting all the
bugs out is not necessary to getting a product out.

3) Philosophy.  I am treading on thin ice here, but there is possibly
an innate human trait to need recognition.  With C, you need gurus who
are great at finding the subtle problems.  These people are less
important in Ada projects, and therefore are less happy.  I will admit
that one of my current projects is being done in C, and we had a code
peer review the other day.  I found some very significant defects,
that probably would not have been found until very late in the
testing.  Everyone praised me for finding these defects, and I felt
very good.  The defects could not have existed in Ada.  Special
recognition in Ada projects has to come in other ways, and will
generally come to a different group of people, and possibly fewer.

4) First impressions last a long time.  The first impression many
people had with Ada was that the language had shortcomings for
real-time systems.  In fact, the Ada conferences and publications had
many articles on what was wrong with the language.  The compiler
vendors tried to provide ways to get around the problems, but then
code was not portable.  This left a very bad feeling in people who
used Ada 83.  They are not interested in even looking at Ada 95.

5) Tools.  Books, compilers, development environments, are all more
available and cheaper for C than for Ada.  I can go into a local
computer store and find Visual C++ for some small amount of money (I
have seen it, but have not bought it, so I do not remember the exact
amount).  To get an equivalent Ada development environment
(supported), I have to go to a vendor, and the cost will probably be
at least an order of magnitude more.  This brings one into economics.
If Visual C++ costs the same to produce as some Ada compiler, but 100
times more copies of Visual C++ are sold, what is the difference in
profit for Microsoft if they sell theirs for 1/10 the price?  It is
not trivial to answer this (since it depends on the cost of initial
development, the value of stock options, the cost of distribution, the
cost of lawyers, etc.), but it can be more profitable.

Does this help explain the current situation?  This is probably way
too simplistic.  I forgot to even mention the DoD mandate.

Roger Racine




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00 ` Ada Roger Racine
@ 1999-12-28  0:00   ` Marin D. Condic
  1999-12-31  0:00     ` Ada Richard D Riehle
                       ` (2 more replies)
  0 siblings, 3 replies; 91+ messages in thread
From: Marin D. Condic @ 1999-12-28  0:00 UTC (permalink / raw)


Roger Racine wrote:
> 2) Time to Market.  Ada is a readable language.  C is a writeable
> language.  People think they are more productive using C because they
> get to integration faster, and they might get a software system to
> market sooner than with Ada.  Ada will allow people to find certain
> errors more easily, but this is not perceived to be a significant
> enough improvement, and for most commercial software, getting all the
> bugs out is not necessary to getting a product out.
> 
I beg to differ - sort of. In many systems Ada gets you to market sooner
with fewer problems. Assuming skilled programmers in each case. Where
C/C++ has an edge is in areas where you get tons of reusable libraries
with it, such as in Visual C++. But this is just one type of system
development. I've been playing with the CLAW GUI builder demo and found
that it will build Ada GUI programs quite easily, so it isn't as if Ada
*can't* do it - just that it isn't as easily marketed. If you got CLAW,
a compiler, a bunch of utilities (Similar to MFC? Where is the ACLWG
these days anyway?) manuals, tutorials, a book, a configuration
management system, etc. all in one package it might compete well in the
"Time To Market" field. All these things exist, but not as a single, one
stop shopping, package. (Maybe a teaming effort is needed?)


> 5) Tools.  Books, compilers, development environments, are all more
> available and cheaper for C than for Ada.  I can go into a local

Definitely. I was recently at a big electronics store in San Jose and
looked through their stacks of books relating to programming &
languages. Hundreds of books available on C, C++, Perl, Cobol, etc. Not
a single text on Ada, even though many good ones exist. It is sort of a
deadlock situation - The store doesn't want to stock something for which
there won't be a reasonable level of sales. The potential vendors don't
want to subsidize it because revenues are too thin to do so. The
potential users have little interest because it isn't just sitting right
there waiting for them to pick it up. The deadlock continues.

Now potentially, it would be possible for some of the vendors to get
together to produce an integrated package with each supplying some part
of the end product. A joint venture would spread the risk and might
bring sufficient resources to bear to actually put up a shrink-wrapped
package on a display rack on the floor of a few computer stores. Done
right with a sufficiently narrow focus, it could succeed and make
everyone a few bucks while making Ada a bit more prevalent. I'd
certainly be interested in discussing it... ;-)

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-28  0:00   ` Ada Marin D. Condic
@ 1999-12-31  0:00     ` Richard D Riehle
  2000-01-02  0:00       ` Ada Marin D. Condic
  2000-01-13  0:00     ` Ada Magnus Alexandersson
  2000-01-13  0:00     ` Ada Magnus Alexandersson
  2 siblings, 1 reply; 91+ messages in thread
From: Richard D Riehle @ 1999-12-31  0:00 UTC (permalink / raw)


In article <38690E47.7DBDC2D1@quadruscorp.com>,
	"Marin D. Condic" <mcondic-nospam@quadruscorp.com> wrote:

>> 5) Tools.  Books, compilers, development environments, are all more
>> available and cheaper for C than for Ada.  I can go into a local
>
>Definitely. I was recently at a big electronics store in San Jose and
>looked through their stacks of books relating to programming &
>languages. Hundreds of books available on C, C++, Perl, Cobol, etc. Not
>a single text on Ada, even though many good ones exist. It is sort of a
>deadlock situation - The store doesn't want to stock something for which
>there won't be a reasonable level of sales. The potential vendors don't
>want to subsidize it because revenues are too thin to do so. The
>potential users have little interest because it isn't just sitting right
>there waiting for them to pick it up. The deadlock continues.

Marin,

Sounds as if you were visiting Fry's Electronics, our local Silicon
Valley Computer Circus.  For serious literature on anything related
to computers, Fry's is not a good choice.  Instead, we have a local
bookstore, Computer Literacy Bookshops  (www.fatbran.com), which has
a representative selection of Ada books.  Next time you are looking
for computer books in Silicon Valley, don't go to Fry's.  Go to 
Computer Literacy Bookshops.  

BTW, many of us who buy computers and computer gear stay away from
Fry's.  I have had such bad experiences with their service that I will
not buy anything from them unless there is no choice.  There
are lots of good alternatives here is SV.  Next time you are in 
SV, give me a call and I will direct you to some better options. 

Richard Riehle




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-02  0:00       ` Ada Marin D. Condic
@ 2000-01-02  0:00         ` Robert Dewar
  2000-01-02  0:00           ` Ada Marin D. Condic
  0 siblings, 1 reply; 91+ messages in thread
From: Robert Dewar @ 2000-01-02  0:00 UTC (permalink / raw)


In article <386F7856.26134B3E@quadruscorp.com>,
  "Marin D. Condic" <mcondic-nospam@quadruscorp.com> wrote:
> My only point was that for Ada to improve its market position,
> it needs to be presented to "The Masses" in a way that makes
> it easy to adopt and use. That's why I think a whole
> shrink-wrapped kit for the PC/Windows
> environment would be a good idea.

So .. don't stop at making the suggestion that "someone" (*)
do this, instead take the initiative to do it yourself. All
the ingrediants are there. You can certainly build what you
want from the public version of GNAT. Of course getting shelf
space at Fry's is a totally different kettle of fish :-)

(*) someone -- that elusive person to whom many tasks are
assigned, but who seldom follows through, and in fact is
rather hard to track down :-) :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-31  0:00     ` Ada Richard D Riehle
@ 2000-01-02  0:00       ` Marin D. Condic
  2000-01-02  0:00         ` Ada Robert Dewar
  0 siblings, 1 reply; 91+ messages in thread
From: Marin D. Condic @ 2000-01-02  0:00 UTC (permalink / raw)


Richard D Riehle wrote:
> Marin,
> 
> Sounds as if you were visiting Fry's Electronics, our local Silicon
> Valley Computer Circus.  For serious literature on anything related
> to computers, Fry's is not a good choice.  Instead, we have a local
> bookstore, Computer Literacy Bookshops  (www.fatbran.com), which has
> a representative selection of Ada books.  Next time you are looking
> for computer books in Silicon Valley, don't go to Fry's.  Go to
> Computer Literacy Bookshops.
> 
Yes, that's where I was looking. They gave off the impression of being
sort of the "Home Depot" of electronics stores. Maybe their selection is
not the best, but they seemed to be sort of "Computer Stuff For The
Masses". The books may not have beem the "serious" computer literature
you have in mind, but they did have lots of shelves of stuff aimed at
helping folks at a variety of levels to learn different languages/tools.

My only point was that for Ada to improve its market position, it needs
to be presented to "The Masses" in a way that makes it easy to adopt and
use. That's why I think a whole shrink-wrapped kit for the PC/Windows
environment would be a good idea.

MDC

-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-02  0:00         ` Ada Robert Dewar
@ 2000-01-02  0:00           ` Marin D. Condic
  2000-01-03  0:00             ` Ada Ted Dennison
  2000-01-03  0:00             ` Ada Robert Dewar
  0 siblings, 2 replies; 91+ messages in thread
From: Marin D. Condic @ 2000-01-02  0:00 UTC (permalink / raw)


Robert Dewar wrote:
> So .. don't stop at making the suggestion that "someone" (*)
> do this, instead take the initiative to do it yourself. All
> the ingrediants are there. You can certainly build what you
> want from the public version of GNAT. Of course getting shelf
> space at Fry's is a totally different kettle of fish :-)

Yup. Shelf space at Fry's (or COMPUSA, etc.) might be an issue - but it
might be resolvable fairly easily with a few phone calls if the "right"
product is available, or at least planned. The notion I had in mind
would involve more than a version of GNAT - there would need to be a
bunch of other things in the kit, some of which might not be so readily
available. Thats why I think it would take a coordinated effort of a few
vendors to put together a comprehensive package and a marketing
strategy. What I might be able to bring to the table at this juncture is
TBD.

> 
> (*) someone -- that elusive person to whom many tasks are
> assigned, but who seldom follows through, and in fact is
> rather hard to track down :-) :-)

I'm very familiar with "someone" and frequently get frustrated with his
inability to keep to my schedule. ;-) Perhaps if I were to get him that
very expensive and rare device known as A Round Tuit he might be able to
make faster progress :-)

MDC
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-02  0:00           ` Ada Marin D. Condic
  2000-01-03  0:00             ` Ada Ted Dennison
@ 2000-01-03  0:00             ` Robert Dewar
  2000-01-03  0:00               ` Ada Marin D. Condic
  1 sibling, 1 reply; 91+ messages in thread
From: Robert Dewar @ 2000-01-03  0:00 UTC (permalink / raw)


In article <386F9D7E.B6DD06B9@quadruscorp.com>,
  "Marin D. Condic" <mcondic-nospam@quadruscorp.com> wrote:

> Thats why I think it would take a coordinated effort of a few
> vendors to put together a comprehensive package and a
> marketing strategy.

This won't happen if you wait for vendors to do it, because they
won't be convinced it makes any marketing sense (I am certainly
dubious).

But on the other hand, all the tools and components you need
are out there in open source form, so you or someone else can
certainly put everything together without needing to wait for
the vendors to move.

Part of the reason I think this makes less sense than you
think is that these days students and other likely consumers
of such a package expect to pay $0 for it, and are not about
to go and plunk down a credit card at Fry's or anywhere else
to buy a package of this kind!

Note also that there are some attempts to do something like
what you suggest, for example, the University of Brighton
CD ROM.

But if you do want to create something, I think the delivery
HAS to be free and electronic. I don't think you will get
anywhere
with a shrink wrapped box at Fry's.


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-02  0:00           ` Ada Marin D. Condic
@ 2000-01-03  0:00             ` Ted Dennison
  2000-01-03  0:00             ` Ada Robert Dewar
  1 sibling, 0 replies; 91+ messages in thread
From: Ted Dennison @ 2000-01-03  0:00 UTC (permalink / raw)


"Marin D. Condic" wrote:

> Yup. Shelf space at Fry's (or COMPUSA, etc.) might be an issue - but it
> might be resolvable fairly easily with a few phone calls if the "right"

My understanding was that stores like that tend to have sort of a
supermarket-style approach to shelf space. That means you aren't going to
get them to give you shelf space for free.

--
T.E.D.

Home - mailto:dennison@telepath.com  Work - mailto:dennison@ssd.fsi.com
WWW  - http://www.telepath.com/dennison/Ted/TED.html  ICQ  - 10545591






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00               ` Ada Marin D. Condic
@ 2000-01-03  0:00                 ` Larry Kilgallen
  2000-01-04  0:00                   ` Ada Charles Hixson
  2000-01-03  0:00                 ` Ada Roger Racine
  1 sibling, 1 reply; 91+ messages in thread
From: Larry Kilgallen @ 2000-01-03  0:00 UTC (permalink / raw)


In article <3870DEED.4744AE18@quadruscorp.com>, "Marin D. Condic" <mcondic-nospam@quadruscorp.com> writes:
> Robert Dewar wrote:
>> Part of the reason I think this makes less sense than you
>> think is that these days students and other likely consumers
>> of such a package expect to pay $0 for it, and are not about
>> to go and plunk down a credit card at Fry's or anywhere else
>> to buy a package of this kind!
>> 
> You may be right. The only way to really settle the question is to
> attempt to do it and see if it sells. That can be pretty expensive. But
> do keep in mind that Micro$oft is out there selling shrink-wrapped
> versions of Visual C++, etc. and people *do* plunk down credit cards to
> buy that.

For a point of reference, the per-copy cost of commercial CD
pressing is about $1 from a big vendor to a small customer.
That is after a setup charge of about $500.

> Somebody must be making a buck doing that - is there a reason that Ada
> can't be one of those players? And a big advantage to being on a shelf
> in a computer store is that people who may never have had any knowlege
> or interest in Ada might happen to see it and be intrigued enough to try
> it out.

Do not underestimate the value of attractive packaging at generating
sales. Lots of trash gets sold in various fields through the use of
attractive packaging -- there is no reason to skimp just because the
contents happen to be worthwhile.

If it is a boxed product, be sure to include a printed manual.
When I examine sealed boxes wondering about documentation, I
often judge by weight :-)

This does seem to be the sort of opportunity open-source software
was designed for -- the add-on value provided by promoting retail
sales is just way outside the sphere of developing software in the
first place.  If the retail package should become so overpriced as
to be offensive, competitors will enter the market.

Larry Kilgallen




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-23  0:00   ` Ada Robert Dewar
@ 2000-01-03  0:00     ` Terry Sikes
  2000-01-03  0:00       ` Ada Hyman Rosen
  2000-01-04  0:00       ` Ada Robert Dewar
  0 siblings, 2 replies; 91+ messages in thread
From: Terry Sikes @ 2000-01-03  0:00 UTC (permalink / raw)


In article <83u8l0$5i5$1@nnrp1.deja.com>,
Robert Dewar  <robert_dewar@my-deja.com> wrote:
>In article <83tohh$q2s$1@nnrp1.deja.com>,
>  reason67@my-deja.com wrote:
>> In article <38620350.48F8FC08@gecm.com>,
>>   Brijesh <brijesh.malkan@gecm.com> wrote:
>>> I am fairly new to Ada programming and have a rather trivial
>>> question I was hoping the group could help answer.
>>>
>>> I understand Ada is a very powerful language but is not
>>> used much outside the defence industry, I was woderign if
>>> this is a correct assumption and if so why is this the
>>> case - and if not where else is it used.
>>
>> In the USA around 1% of comercial software was written in Ada.
>> So, your assumption is correct.
>
>I wonder where that figure of 1% comes from. If true, it means
>that Ada is widely used, since this is 1% of an absolutely HUGE
>market (1% is much higher than you think, once you have
>subtracted out the really popular languages like COBOL and
>Visual Basic, the latter accounting for the lion's share of
>all software development).

I'm curious as to the source of your assertion regarding Visual Basic.
For one look at "per language" programmer demand, see
www.lmarkets.com, which seems to show both C++ and Java considerably
ahead of VB (of course this is programmer demand, not programmer body
count).  Perhaps someone should lobby the site maintainer to include
Ada on the chart, even if it is a low scorer today - perhaps a
positive trend will start at some point.

>In fact I suspect the figure is below 1%, but again, we are
>talking percentages of a huge market, so even a sliver of this
>can be highly significant. After all what percentage of the
>over all automobile market does Ferrari have or Rolls Royce,
>yet we still consider these technologies significant :-)
>
>Certainly we all know lots of examples of successful commercial
>use of Ada.

True.

>There seems to be a general tendency to write off technologies
>that do not dominate the market. I can't tell you how many
>people I meet who think OS/2 is dead, when in fact it is being
>very successful in many contexts (and has exceeded sales
>expectations every quarter for the last 5 or 6 quarters). Sure
>it does not have the market share of Windows, but this again is
>a huge market, and OS/2 has a significant share.

Yes, I think this is a quite unfortunate effect of the amount of
information the average programmer intellect can absorb over time.
Personally, I decided to pursue other languages years ago when Ada
compilers were all really expensive, and its use appeared to be
declining even in the DoD.  Now, with free compilers available, an OO
programming model available (Ada95), and an upcoming RT control
application in my future, Ada is looking very interesting all of a
sudden.  ;-)

>A similar situation exists with Ada. Of course it is not
>numerically as successful as C++ for example, but that really
>does not mean much. If you need the most reliable and best
>technology around, you do not take a poll to see what is the
>most commonly used technology!

Again true, but I can't help but think that wider adoption would be a
very good thing for the language.  Many projects may have gone with
other technologies simply based on the available Ada talent pool.

I've been involved with Java for a while, and it appears to me that
with suitable library support Ada could be a great alternative for (at
least) server side programming.  (IIRC there is an Ada=>JVM solution,
but I don't know much about it.)

There's a lot of discussion on the Java advocacy newsgroup about the
desirability (or lack thereof;) of generics, operator overloading and
so on.  From what I can tell, Ada provides good implementations of
these things as opposed to C++.  Also, the scientific community has
shown significant interest in a modified Java for numerical
programming (www.javagrande.org), that also seems potentially a
fertile ground for Ada advocacy.  Heck, Ada is even an ISO standard...
;-)

Looking at Ada95, it seems to me to be close to a "sweet spot" in
terms of features, efficiency, language safety, and
performance...perhaps its time for an Ada renaissance!

Terry
--
tsikes@netcom.com




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00             ` Ada Robert Dewar
@ 2000-01-03  0:00               ` Marin D. Condic
  2000-01-03  0:00                 ` Ada Larry Kilgallen
  2000-01-03  0:00                 ` Ada Roger Racine
  0 siblings, 2 replies; 91+ messages in thread
From: Marin D. Condic @ 2000-01-03  0:00 UTC (permalink / raw)


Robert Dewar wrote:
> Part of the reason I think this makes less sense than you
> think is that these days students and other likely consumers
> of such a package expect to pay $0 for it, and are not about
> to go and plunk down a credit card at Fry's or anywhere else
> to buy a package of this kind!
> 
You may be right. The only way to really settle the question is to
attempt to do it and see if it sells. That can be pretty expensive. But
do keep in mind that Micro$oft is out there selling shrink-wrapped
versions of Visual C++, etc. and people *do* plunk down credit cards to
buy that.

One can debate how profitable this might be - MS may be subsidizing
their development environment in order to keep development for Windows
going on. Its hard to say without a look at the books and I wouldn't
trust rumors or corporate statements on the subject. But certainly
people do buy VC++ so why might they not buy a *better* environment that
was wrapped around an Ada compiler?


> But if you do want to create something, I think the delivery
> HAS to be free and electronic. I don't think you will get
> anywhere
> with a shrink wrapped box at Fry's.
> 
I wouldn't write off electronic delivery - e-commerce is certainly
booming in growth right now. Fry's may have to go that route themselves
just to stay in business. But remember that when you go into Fry's you
will see development kits for other languages there on the shelves.
Somebody must be making a buck doing that - is there a reason that Ada
can't be one of those players? And a big advantage to being on a shelf
in a computer store is that people who may never have had any knowlege
or interest in Ada might happen to see it and be intrigued enough to try
it out.

My desire is to see that Ada experiences growth in its application for
commercial efforts. I think that is a goal most of us in this newsgroup
would agree on. I think that a weakness Ada has when compared to some
other languages is that there isn't a one-stop source where you can pick
up everything you need for serious development. There are lots of things
you can gather from all over the net and possibly cobble together a
development environment with everything you need. If your garden variety
developer were able to get the whole ball of wax in one location with
everything glued together in a consistent manner, it might encourage
more use.

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00               ` Ada Marin D. Condic
  2000-01-03  0:00                 ` Ada Larry Kilgallen
@ 2000-01-03  0:00                 ` Roger Racine
  1 sibling, 0 replies; 91+ messages in thread
From: Roger Racine @ 2000-01-03  0:00 UTC (permalink / raw)


On Mon, 03 Jan 2000 09:39:57 -0800, "Marin D. Condic"
<mcondic-nospam@quadruscorp.com> wrote:

>Robert Dewar wrote:
>> Part of the reason I think this makes less sense than you
>> think is that these days students and other likely consumers
>> of such a package expect to pay $0 for it, and are not about
>> to go and plunk down a credit card at Fry's or anywhere else
>> to buy a package of this kind!
>> 
>You may be right. The only way to really settle the question is to
>attempt to do it and see if it sells. That can be pretty expensive. But
>do keep in mind that Micro$oft is out there selling shrink-wrapped
>versions of Visual C++, etc. and people *do* plunk down credit cards to
>buy that.
>
>
>My desire is to see that Ada experiences growth in its application for
>commercial efforts. I think that is a goal most of us in this newsgroup
>would agree on. I think that a weakness Ada has when compared to some
>other languages is that there isn't a one-stop source where you can pick
>up everything you need for serious development. There are lots of things
>you can gather from all over the net and possibly cobble together a
>development environment with everything you need. If your garden variety
>developer were able to get the whole ball of wax in one location with
>everything glued together in a consistent manner, it might encourage
>more use.
>

I went to the local CompUSA store over the weekend and noticed that
Corel is now selling WordPerfect in a box that includes Linux.
Perhaps an Ada development environment combined with the operating
system might be popular enough to create a profit?

Maybe a cross-development system for the Palm Pilot included?

Roger Racine




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00     ` Ada Terry Sikes
@ 2000-01-03  0:00       ` Hyman Rosen
  2000-01-04  0:00         ` Ada Richard D Riehle
                           ` (3 more replies)
  2000-01-04  0:00       ` Ada Robert Dewar
  1 sibling, 4 replies; 91+ messages in thread
From: Hyman Rosen @ 2000-01-03  0:00 UTC (permalink / raw)


tsikes@netcom.com (Terry Sikes) writes:
> There's a lot of discussion on the Java advocacy newsgroup about the
> desirability (or lack thereof;) of generics, operator overloading and
> so on.  From what I can tell, Ada provides good implementations of
> these things as opposed to C++.

C++ provides excellent implementation of generics,
and good implementation of overloading, except that
one cannot overload on return type as in Ada.

Is there something specific you believe you can not
do in C++ with regard to these abilities?




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00     ` Ada Terry Sikes
  2000-01-03  0:00       ` Ada Hyman Rosen
@ 2000-01-04  0:00       ` Robert Dewar
  2000-01-04  0:00         ` Ada Terry Sikes
  1 sibling, 1 reply; 91+ messages in thread
From: Robert Dewar @ 2000-01-04  0:00 UTC (permalink / raw)


In article <84rd2f$snm$1@nntp3.atl.mindspring.net>,
  tsikes@netcom.com (Terry Sikes) wrote:
> For one look at "per language" programmer demand, see
> www.lmarkets.com, which seems to show both C++ and Java
considerably
> ahead of VB (of course this is programmer demand, not
programmer body
> count).


Nope, this is does not reflect programmer demand. It simply
reflects the number of jobs that are being offered in this
particular forum. Even if it did reflect programmer demand,
that would say nothing about the supply (ads tend to reflect
the surplus of demand over supply, which has nothing to do
with total market).

There are many sources for this information. One for example,
was a keynote address from Bill Gates at a big conference
(perhaps Comdex?) last year. There he also stated that Delphi
was at 5%, and Java at 9% (he said he did not really believe
the Java figure, that it probably reflected a lot of
experimentation, and given the failure of Java to get a
real foothold in client side programming that sounds right
to me. This same talk put Visual basic at about 50% of
PC development, and that also sounds about right to me,
with C/C++ being about 15%.

Ada did not get mentioned, but even if it was at what
(for me) would seem a very high level of 1% of all PC
development, it would have been under Bill's radar screen :-)

To get a feel for the Visual Basic market, have a look at the
catalogs of Active-X (now COM) components. Yes, these components
can be used in Visual C++ (and for that matter in Ada programs
written with GNAT :-) but the primary use of these components
is in the visual basic world.


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00       ` Ada Hyman Rosen
  2000-01-04  0:00         ` Ada Richard D Riehle
@ 2000-01-04  0:00         ` Robert Dewar
  2000-01-04  0:00           ` Ada Robert A Duff
  2000-01-04  0:00           ` Ada Hyman Rosen
  2000-01-04  0:00         ` Ada Florian Weimer
  2000-01-04  0:00         ` Ada Terry Sikes
  3 siblings, 2 replies; 91+ messages in thread
From: Robert Dewar @ 2000-01-04  0:00 UTC (permalink / raw)


In article <t7aemmtz3b.fsf@calumny.jyacc.com>,
  Hyman Rosen <hymie@prolifics.com> wrote:

> C++ provides excellent implementation of generics,

The trouble with templates is that there is no equivalent of
the generic contract model, and also it is very difficult to
implement generic sharing of code. These are both issues
which the Ada model regards as essential, so certainly
by Ada standards, the above statement is controversial.


> and good implementation of overloading

OUCH! The rules for overloading in C++ are fiersomely complex,
far more so than in Ada, due to the interaction with implicit
conversions (something that Ada avoids), and the consequent
need for complex preference rules. In my experience, almost
no C++ programmers can tell you what the rules are, and many
people run into trouble with these rules.

> except that
> one cannot overload on return type as in Ada.

A pretty big gap! It means for example that if you have
multiple implementations of sets, that you cannot have
a parameterless function Empty that returns the (appropriate)
empty set.

> Is there something specific you believe you can not
> do in C++ with regard to these abilities?

Yes, see the above, in particular, to summarize:

1. Share generic code at the object level
2. Be sure your template is correct *before* you use it
3. Understand the overloading rules
4. Overload on return type


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00           ` Ada Hyman Rosen
@ 2000-01-04  0:00             ` Robert A Duff
  2000-01-04  0:00             ` Ada Richard D Riehle
  1 sibling, 0 replies; 91+ messages in thread
From: Robert A Duff @ 2000-01-04  0:00 UTC (permalink / raw)


Hyman Rosen <hymie@prolifics.com> writes:

> You have not read the literature correctly, or you have not read the
> correct literature :-) C++ templates can be (according to the standard,
> but not yet in reality) separately compiled, and many errors within the
> template can be caught before instantiation. You are correct in that it
> is unlikely that a C++ will offer anything but the full-expansion style
> of template instantiation.

The C++ standard allows templates to be separately compiled.
And the Ada standard allows garbage collection.
And the C standard allows array-bounds checking.
;-)

- Bob




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Florian Weimer
@ 2000-01-04  0:00           ` Brian Rogoff
  2000-01-04  0:00           ` Ada Hyman Rosen
  1 sibling, 0 replies; 91+ messages in thread
From: Brian Rogoff @ 2000-01-04  0:00 UTC (permalink / raw)


On 4 Jan 2000, Florian Weimer wrote:
> Hyman Rosen <hymie@prolifics.com> writes:
> 
> [Ada generics vs. C++ templates]
> 
> > Is there something specific you believe you can not
> > do in C++ with regard to these abilities?
> 
> I can't imagine anything which can't be done with C++ templates which
> you can do using Ada generics. 

In some theoretical sense, yes, since you can express computations with 
C++ templates they can do just about anything. C++ type checking is also 
undecidable thanks to this. 

In the world of the practical programmer, Ada allows subprograms as
generic parameters and since Ada has nesting you can use them to 
clumsily simulate many uses of downward closures. C++ forces you to use 
classes and overload "()", and that is IMO *way* more clumsy than the 
Ada workaround. 

Others have discussed strong typing and separate compilation, so I'll
leave those points alone. What I like most about Ada is the confidence 
I have that a small compiled program is close to correct in my experience.

I like some aspects of the C++ template systems ability to automatically 
instantiate, and would love to see an Ada-like language with this ability. 
I suspect that this might also not have a decidable type system. 

-- Brian






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Robert Dewar
@ 2000-01-04  0:00           ` Robert A Duff
  2000-01-04  0:00             ` Ada Hyman Rosen
  2000-01-04  0:00           ` Ada Hyman Rosen
  1 sibling, 1 reply; 91+ messages in thread
From: Robert A Duff @ 2000-01-04  0:00 UTC (permalink / raw)


Robert Dewar <robert_dewar@my-deja.com> writes:

> A pretty big gap! 

Yes.

>...It means for example that if you have
> multiple implementations of sets, that you cannot have
> a parameterless function Empty that returns the (appropriate)
> empty set.

Even worse, it means that literals can't be overloaded.  Of course, C++
doesn't even *have* enumeration literals of different enumeration types,
anyway.  And for numeric literals, the C++ rule requires that each
literal be marked with a character that indicates its type, which is a
kludge (and certainly wouldn't work in Ada with tits capability of
having many numeric types).

- Bob




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00                 ` Ada Larry Kilgallen
@ 2000-01-04  0:00                   ` Charles Hixson
  0 siblings, 0 replies; 91+ messages in thread
From: Charles Hixson @ 2000-01-04  0:00 UTC (permalink / raw)


OTOH, on-line distributors, such as, e.g., Cheap-Bytes , PC-Connection, or EggHead sell items that don't
require the same concerns as the open store front.  Perhaps the packaging should be designed to look good from
a face-forward perspective, and to sell via on-line distribution, but with the ability to take advantage of
any store-front access that becomes available (without drastically raising the cost of distribution!)

Larry Kilgallen wrote:

> In article <3870DEED.4744AE18@quadruscorp.com>, "Marin D. Condic" <mcondic-nospam@quadruscorp.com> writes:
> > Robert Dewar wrote:
> ......

> > or interest in Ada might happen to see it and be intrigued enough to try
> > it out.
>
> Do not underestimate the value of attractive packaging at generating
> sales. Lots of trash gets sold in various fields through the use of
> attractive packaging -- there is no reason to skimp just because the
> contents happen to be worthwhile.
>
> If it is a boxed product, be sure to include a printed manual.
> When I examine sealed boxes wondering about documentation, I
> often judge by weight :-)
>
> This does seem to be the sort of opportunity open-source software
> was designed for -- the add-on value provided by promoting retail
> sales is just way outside the sphere of developing software in the
> first place.  If the retail package should become so overpriced as
> to be offensive, competitors will enter the market.
>
> Larry Kilgallen






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00       ` Ada Hyman Rosen
                           ` (2 preceding siblings ...)
  2000-01-04  0:00         ` Ada Florian Weimer
@ 2000-01-04  0:00         ` Terry Sikes
  3 siblings, 0 replies; 91+ messages in thread
From: Terry Sikes @ 2000-01-04  0:00 UTC (permalink / raw)


In article <t7aemmtz3b.fsf@calumny.jyacc.com>,
Hyman Rosen  <hymie@prolifics.com> wrote:
>tsikes@netcom.com (Terry Sikes) writes:

>> There's a lot of discussion on the Java advocacy newsgroup about the
>> desirability (or lack thereof;) of generics, operator overloading and
>> so on.  From what I can tell, Ada provides good implementations of
>> these things as opposed to C++.
>
>C++ provides excellent implementation of generics,
>and good implementation of overloading, except that
>one cannot overload on return type as in Ada.

I've perused the other responses to this so I won't touch on some
points raised by others.  In working fairly extensively with C++
generics (mainly STL, VC 6.0) I've come to the conclusion that at this
time they are still totally pushing the envelope for the compiler
writers.  In my current project, for instance, fairly simple things
like map<int, string> generate identifiers in excess of 255
characters, which the compiler warns about truncating.  There is a
pragma to disable this warning for the current file, but often this
warning occurs in system headers, which I'm reluctant to modify.  ;-)
I also find it troublesome that such simple cases introduce possible
software defects, which I'm being warned about, with no way of fixing
the problem other than abandoning generics.

Further the error messages generated for template errors are quite
bad.  In one case I tested an iterator using "<" rather than "!=" and
was greeted with a cascade of seemingly unrelated messages.  Careful
code inspection was the only way to find the problem.

Finally, I find the syntax of C++ templates rather illegible, but
perhaps that's just me.

>Is there something specific you believe you can not
>do in C++ with regard to these abilities?

Its not so much a matter of "can not do" as "can not do quickly", "can
not identify the error" and/or "can not read later".  ;-)

On the latter point, between operator overloading and templates, it is
quite easy to (unintentionally) generate very obtuse C++.

One thing I'd like to see in both languages is the ability to use a
set of non-reserved Unicode symbols for operator overloading, to
disambiguate with the normal operator symbols.

Terry
--
tsikes@netcom.com




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00       ` Ada Robert Dewar
@ 2000-01-04  0:00         ` Terry Sikes
  2000-01-05  0:00           ` Ada Robert Dewar
  2000-01-06  0:00           ` Ada Al Christians
  0 siblings, 2 replies; 91+ messages in thread
From: Terry Sikes @ 2000-01-04  0:00 UTC (permalink / raw)


In article <84sudm$33s$1@nnrp1.deja.com>,
Robert Dewar  <robert_dewar@my-deja.com> wrote:
>In article <84rd2f$snm$1@nntp3.atl.mindspring.net>,
>  tsikes@netcom.com (Terry Sikes) wrote:
>> For one look at "per language" programmer demand, see
>> www.lmarkets.com, which seems to show both C++ and Java
>considerably
>> ahead of VB (of course this is programmer demand, not
>programmer body
>> count).
>
>Nope, this is does not reflect programmer demand. It simply
>reflects the number of jobs that are being offered in this
>particular forum. Even if it did reflect programmer demand,
>that would say nothing about the supply (ads tend to reflect
>the surplus of demand over supply, which has nothing to do
>with total market).

You're right about the site reflecting surplus of demand over supply.
However, I find it hard to understand how the demand for VB
programmers is being filled, given that VB programming isn't in the
curriculum of most universities (also I know a couple of VB
consultants who're making good money, which doesn't indicate excessive
supply).

I'm going to contact Ted Shieh for more details about his methodology,
I thought there was more on the site, but couldn't find it.

>There are many sources for this information. One for example,
>was a keynote address from Bill Gates at a big conference
>(perhaps Comdex?) last year. There he also stated that Delphi
>was at 5%, and Java at 9% (he said he did not really believe
>the Java figure, that it probably reflected a lot of
>experimentation, and given the failure of Java to get a
>real foothold in client side programming that sounds right
>to me. This same talk put Visual basic at about 50% of
>PC development, and that also sounds about right to me,
>with C/C++ being about 15%.

50% of Windows (not PC) development, even if true, ignores major
market segments:

o  embedded systems
o  Unix/mainframe server-side  (this has picked up recently;)
o  Mac
o  Linux

I think you're underestimating the amount of C/C++ even on the Windows
side, also.  Bill has some level of vested interest in promoting VB,
after all.

>Ada did not get mentioned, but even if it was at what
>(for me) would seem a very high level of 1% of all PC
>development, it would have been under Bill's radar screen :-)

Probably.

>To get a feel for the Visual Basic market, have a look at the
>catalogs of Active-X (now COM) components. Yes, these components
>can be used in Visual C++ (and for that matter in Ada programs
>written with GNAT :-) but the primary use of these components
>is in the visual basic world.

As you say, they are compiler-neutral.  I think that the Windows
component marketplace has been VBs biggest success...  :-)   Linux
would benefit from a similar feature - or if Java ever gets efficient
enough, Java Beans are an alternative.

Terry
--
tsikes@netcom.com




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00       ` Ada Hyman Rosen
@ 2000-01-04  0:00         ` Richard D Riehle
  2000-01-04  0:00           ` Ada Hyman Rosen
  2000-01-04  0:00         ` Ada Robert Dewar
                           ` (2 subsequent siblings)
  3 siblings, 1 reply; 91+ messages in thread
From: Richard D Riehle @ 2000-01-04  0:00 UTC (permalink / raw)


In article <t7aemmtz3b.fsf@calumny.jyacc.com>,
	Hyman Rosen <hymie@prolifics.com> wrote:

>C++ provides excellent implementation of generics,
>and good implementation of overloading, except that
>one cannot overload on return type as in Ada.
>
>Is there something specific you believe you can not
>do in C++ with regard to these abilities?

There are some differences in Ada and C++. The issue is not
"can not do" but rather how it is done and whether the Ada
way is any improvement.   Also, it is never a matter of
whether something can or cannot be done in a particular 
language.  Rather, the issue is whether a given language
is more expressive of a desired capability.  In many ways,
Ada is more expressive.  In other ways, C++ is more expressive.

Ada generics (templates)are always compiled before they are 
"included" by the client.  This is a function of the Ada library
model.  The instantiation is permitted only after the successful
compilation of the generic unit.  This puts type checking a little
closer to the origination of the generic.  

If I read the C++ literature correctly, C++ templates are expected
to be "full expansion" units.  Ada permits a template to be instantiated
in other forms to conserve memory. Some compilers support this.

Ada has more formats for generic formal parameters.  This has its
advantages and may sometimes have disadvantages.  The designer needs
to learn more idioms of the language.  Once having learned those idioms,
more options for template design are available.

Ada permits but does not require as much overloading of operators
as one needs in a C++.  This is useful when one is creating templates
for simple scalar and numeric types.  It does simplify the templates
for those types.  Actually, in this case, the Ada model is somewhat
an improvement over C++.  Of course, a C++ advocate may answer that
the word "class" may be used for a built-in type, but this still falls
short of the Ada model for range constraints and other rules of
scalar types.

Ada is more complicated when creating templates in which an entire
package is a generic formal parameter.  C++ is very straightfoward
in this regard.  The consequence is that this powerful feature of
Ada is often ignored by component designers.  In time, as Ada 
practitioners become more comfortable with its capabilities, we should
see more use of it.  Meanwhile, C++ seems much easier when one needs
one of more classes as generic formal parameters.

On the other hand, a generic formal package parameter provides the
equivalent of a namespace parameter, something I suspect cannot be
expressed easily in C++.  It also enables one to design reusable 
signatures for simplifying the parameter lists of application frameworks
components. Moreover, these signatures are subjected to all the 
checks of the compiler before they may ever be used.

Implementation of Ada generics can take advantage of child
library units, including private child library units to create,
as private child package specifications, a whole subsystem of reusable
package bodies.  This is not widely used, in practice, but has 
substantial power once it is understood by Ada component designers.

There are lots of other issues where Ada is more expressive of 
the component design problem.  I am sure others who frequent this
forum will note some of the more obvious ones I have overlooked.

Richard Riehle




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-03  0:00       ` Ada Hyman Rosen
  2000-01-04  0:00         ` Ada Richard D Riehle
  2000-01-04  0:00         ` Ada Robert Dewar
@ 2000-01-04  0:00         ` Florian Weimer
  2000-01-04  0:00           ` Ada Brian Rogoff
  2000-01-04  0:00           ` Ada Hyman Rosen
  2000-01-04  0:00         ` Ada Terry Sikes
  3 siblings, 2 replies; 91+ messages in thread
From: Florian Weimer @ 2000-01-04  0:00 UTC (permalink / raw)


Hyman Rosen <hymie@prolifics.com> writes:

[Ada generics vs. C++ templates]

> Is there something specific you believe you can not
> do in C++ with regard to these abilities?

I can't imagine anything which can't be done with C++ templates which
you can do using Ada generics.  (The opposite case is different, though,
because of Ada's strong typing.)  However, there are some shortcomings
of C++ templates (at least that's my impression):

You won't get reasonable error messages.  For example, try instantiating
a STL container with a reference type; most compilers will give you
several kilobytes of error messages.  The situation gets worse if you
nest templates more deeply.

Writing reusable templates in C++ is hard, because you have to be very
careful not to use operations on the parametric types which aren't
available in general.  These restrictions are not enforced by the
compiler unless you provide suitable instantiations.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Richard D Riehle
@ 2000-01-04  0:00           ` Hyman Rosen
  2000-01-04  0:00             ` Ada Robert A Duff
  2000-01-04  0:00             ` Ada Richard D Riehle
  0 siblings, 2 replies; 91+ messages in thread
From: Hyman Rosen @ 2000-01-04  0:00 UTC (permalink / raw)


Richard D Riehle <laoXhai@ix.netcom.com> writes:
> Ada generics (templates)are always compiled before they are 
> "included" by the client.  This is a function of the Ada library
> model.  The instantiation is permitted only after the successful
> compilation of the generic unit.  This puts type checking a little
> closer to the origination of the generic.  
> 
> If I read the C++ literature correctly, C++ templates are expected
> to be "full expansion" units.  Ada permits a template to be instantiated
> in other forms to conserve memory. Some compilers support this.

You have not read the literature correctly, or you have not read the
correct literature :-) C++ templates can be (according to the standard,
but not yet in reality) separately compiled, and many errors within the
template can be caught before instantiation. You are correct in that it
is unlikely that a C++ will offer anything but the full-expansion style
of template instantiation.

> Ada has more formats for generic formal parameters.  This has its
> advantages and may sometimes have disadvantages.  The designer needs
> to learn more idioms of the language.  Once having learned those idioms,
> more options for template design are available.

C++ has essentially *no* format for its generic formals, which are
types, templates, or constants. I think that allows C++ to achieve
the same things with its templates that Ada can.

> Ada permits but does not require as much overloading of operators
> as one needs in a C++.  This is useful when one is creating templates
> for simple scalar and numeric types.  It does simplify the templates
> for those types.  Actually, in this case, the Ada model is somewhat
> an improvement over C++.  Of course, a C++ advocate may answer that
> the word "class" may be used for a built-in type, but this still falls
> short of the Ada model for range constraints and other rules of
> scalar types.

Well, C++ doesn't have range constraints and subtypes (which is
too bad), so it can hardly overload on them. But it does have
enumerations, and those are fully overloadable. But C++ doesn't
have attributes, so one can't write a generic wrap-around successor
function, for example, so there, I've found an example for you :-)

> Ada is more complicated when creating templates in which an entire
> package is a generic formal parameter.  C++ is very straightfoward
> in this regard.  The consequence is that this powerful feature of
> Ada is often ignored by component designers.  In time, as Ada 
> practitioners become more comfortable with its capabilities, we should
> see more use of it.  Meanwhile, C++ seems much easier when one needs
> one of more classes as generic formal parameters.

I hold that a C++ class is more-or-less equivalent to an Ada package,
so a generic formal package in Ada would simply correspond to a generic
formal class in C++.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Florian Weimer
  2000-01-04  0:00           ` Ada Brian Rogoff
@ 2000-01-04  0:00           ` Hyman Rosen
  1 sibling, 0 replies; 91+ messages in thread
From: Hyman Rosen @ 2000-01-04  0:00 UTC (permalink / raw)


Florian Weimer <usenet@deneb.cygnus.argh.org> writes:
> You won't get reasonable error messages.  For example, try instantiating
> a STL container with a reference type; most compilers will give you
> several kilobytes of error messages.  The situation gets worse if you
> nest templates more deeply.

This is a quality-of-implementation issue. I think vendors are
concentrating first on compiling correct code. One hopes that
in the future, error messages will get better.

> Writing reusable templates in C++ is hard, because you have to be very
> careful not to use operations on the parametric types which aren't
> available in general.  These restrictions are not enforced by the
> compiler unless you provide suitable instantiations.

"If the type will fit, you must acquit" :-) The C++ template model
allows legal instantiations to compile, without specifying
restrictions on the types in advance, only through the operations
performed on the objects of the type. This requires attention in
writing the template if you want to minimize the number of things
required of the type, but that's fine.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Robert Dewar
  2000-01-04  0:00           ` Ada Robert A Duff
@ 2000-01-04  0:00           ` Hyman Rosen
  1 sibling, 0 replies; 91+ messages in thread
From: Hyman Rosen @ 2000-01-04  0:00 UTC (permalink / raw)


Robert Dewar <robert_dewar@my-deja.com> writes:
> A pretty big gap! It means for example that if you have
> multiple implementations of sets, that you cannot have
> a parameterless function Empty that returns the (appropriate)
> empty set.

Incorrect as far as equivalent behavior is concerned,
as the following program demonstrates.

enum SetType { A, B, C };
template <SetType T> struct Set
{
	static Set Empty() { return Set(); }
};
struct EmptySet
{
	template <SetType T> operator Set<T>() { return Set<T>::Empty(); }
};
void f(Set<A>) { }
void g(Set<B>) { }
int main()
{
	f(EmptySet());
	g(EmptySet());
}




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00           ` Ada Robert A Duff
@ 2000-01-04  0:00             ` Hyman Rosen
  0 siblings, 0 replies; 91+ messages in thread
From: Hyman Rosen @ 2000-01-04  0:00 UTC (permalink / raw)


Robert A Duff <bobduff@world.std.com> writes:
> Even worse, it means that literals can't be overloaded.  Of course, C++
> doesn't even *have* enumeration literals of different enumeration types,
> anyway.

It certainly does. The problematic part is that enumeration literals
are entered into the scope in which the enumeration type is declared,
because of backward compatibility with C. As a result, one normally
declares enumerated types inside a class or namespace, so that literals
won't conflict.

If you really need enumerator literal overloading, you can play the
same game as for empty sets, on a case-by-case basis:

struct Direction { enum E { Left, Right, Up, Down }; };
struct Politics  { enum E { Left, Center, Right }; };

static struct
{
	operator Direction::E() { return Direction::Left; }
	operator Politics ::E() { return Politics ::Left; }
} Left;

static struct
{
	operator Direction::E() { return Direction::Right; }
	operator Politics ::E() { return Politics ::Right; }
} Right;

void f(Direction::E) { }
void g(Politics ::E) { }

int main()
{
	f(Left);
	f(Right);
	g(Left);
	g(Right);
}




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00           ` Ada Hyman Rosen
  2000-01-04  0:00             ` Ada Robert A Duff
@ 2000-01-04  0:00             ` Richard D Riehle
  1 sibling, 0 replies; 91+ messages in thread
From: Richard D Riehle @ 2000-01-04  0:00 UTC (permalink / raw)


In article <t77lhpuc8o.fsf@calumny.jyacc.com>,
	Hyman Rosen <hymie@prolifics.com> wrote:

>Richard D Riehle <laoXhai@ix.netcom.com> writes:
>
>You have not read the literature correctly, or you have not read the
>correct literature :-) C++ templates can be (according to the standard,
>but not yet in reality) separately compiled, 

I guess it is not just my reading of the compiler publishers manuals
that prevent me from doing the same thing I can do in Ada.  Also, I
am not sure that, once this is implemented in C++, it will correspond
to the same level of error checking possible in Ada generics.  One
of the essential points in Ada is that error checking is not just a
function of type-safety.   Often overlooked is the extensive set of
rules on Scope and Visibility in Chapted 8 of the ALRM.  C++ does not
seem to be quite as comprehensive on this point.

Meanwhile, my C++ programs must correspond to what the compiler 
publishers allow rather than the theoretical permissions of the
standard.  

>> Ada has more formats for generic formal parameters.  This has its
>> advantages and may sometimes have disadvantages.  The designer needs
>> to learn more idioms of the language.  Once having learned those idioms,
>> more options for template design are available.
>
>C++ has essentially *no* format for its generic formals, which are
>types, templates, or constants. I think that allows C++ to achieve
>the same things with its templates that Ada can.

As mentioned in my earlier post, I agree that when using the word "can"
nearly every language _can_ accomplish whatever any other language _can_.
The issue, when comparing languages, should never be whether something
_can_ be expressed in this or that language.  Rather, the issue is how
easily that something can be expressed.  It is the difference between
expressibility (can express) and expressiveness (designed to express).  

A caution is in order.  An earlier critique of Ada in this forum 
suggested that Ada is not as _intuitive_ as C++.  The author of that
criticism confused the notion of _intuitive_ with the notion of
_superficial_.  Expressive does not necessarily mean _intuitive_. 
Also, I do not mean to imply that you, Hyman, are superficial.  It
is clear that you think carefully and deeply about these issues.
There are many programming constructs for which COBOL is more
expressive, others for which Smalltalk is more expressive, and some
for which Ada is not as expressive as C++ or Eiffel.  We simply have
not yet achieved perfection in the design of programming languages.
However, as you noted in you post, Ada does have some advantages of
expressiveness, as does C++.  I continue to prefer the Ada approach,
even though I am currently spending more time coding C++ than I would
want. 

>I hold that a C++ class is more-or-less equivalent to an Ada package,
>so a generic formal package in Ada would simply correspond to a generic
>formal class in C++.

I will agree with this.  I suspect that, if templates had been designed
into C++ from the beginning, they might be a little better than they
are.  I find the Ada generic slightly more expressive, for my taste,
than the C++ template.  Fortunately, not all of us on this planet are
identical so there is room for more than one viewpoint on this subject.

Richard Riehle
 




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Terry Sikes
@ 2000-01-05  0:00           ` Robert Dewar
  2000-01-05  0:00             ` Ada Terry Sikes
  2000-01-06  0:00           ` Ada Al Christians
  1 sibling, 1 reply; 91+ messages in thread
From: Robert Dewar @ 2000-01-05  0:00 UTC (permalink / raw)


In article <84tj1p$r2g$1@nntp3.atl.mindspring.net>,
  tsikes@netcom.com (Terry Sikes) wrote:

> o  embedded systems

This is a very small sliver of the total development market

> o  Unix/mainframe server-side  (this has picked up recently;)

Still a small player development wise compared to PC's

> o  Mac

This is a VERY small fraction of the total PC development
effort.

> o  Linux

Getting larger, but still dwarfed by PC's

> I think you're underestimating the amount of C/C++ even on the
> Windows side, also.

Most university trained people *over* estimate the amount of
C and C++, precisely because they don't know the widely
used languages (COBOL and Visual Basic).


> Bill has some level of vested interest in promoting VB,
> after all.

Well I don't think he cares too much if people use VB or
visual C++. What is interesting about his figures is the
Delphi and Java figures, which he *does* care about :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-05  0:00           ` Ada Robert Dewar
@ 2000-01-05  0:00             ` Terry Sikes
  0 siblings, 0 replies; 91+ messages in thread
From: Terry Sikes @ 2000-01-05  0:00 UTC (permalink / raw)


In article <84uk54$6jl$1@nnrp1.deja.com>,
Robert Dewar  <robert_dewar@my-deja.com> wrote:
>In article <84tj1p$r2g$1@nntp3.atl.mindspring.net>,
>  tsikes@netcom.com (Terry Sikes) wrote:
>
>> o  embedded systems
>
>This is a very small sliver of the total development market

I'd be interested in knowing how "small" - there are a ton of
products with embedded microprocessors.

>> o  Unix/mainframe server-side  (this has picked up recently;)
>
>Still a small player development wise compared to PC's

Really?  You think the total number of development dollars spent on
server-side software is "small" compared to client side?  Even with
the Internet taking off?

>> o  Mac
>
>This is a VERY small fraction of the total PC development
>effort.

Macs are sitting at around 5% market share right now, and I'd guess
more development is done on them, percentage-wise, than is done on
Windows.

>> o  Linux
>
>Getting larger, but still dwarfed by PC's

Well, Linux installs are hard to measure, but I'd heard a figure of
10,000,000+ over a year ago.  The thing is though, that a very high
percentage of Linux boxes are development boxes.

>> I think you're underestimating the amount of C/C++ even on the
>> Windows side, also.
>
>Most university trained people *over* estimate the amount of
>C and C++, precisely because they don't know the widely
>used languages (COBOL and Visual Basic).

Although there are some, I think you'll find the numbers of PC COBOL
programmers to be quite small...  ;-)

As to VB, I agree its widely used...but I still think that C/C++
account for more than 15% of Windows development dollars.

>> Bill has some level of vested interest in promoting VB,
>> after all.
>
>Well I don't think he cares too much if people use VB or
>visual C++. What is interesting about his figures is the
>Delphi and Java figures, which he *does* care about :-)

C'mon, Bill has a soft spot for BASIC.  ;-)

Delphi has its good points, but just think if it had been implemented
in Ada95 instead of Object Pascal...

At any rate, its fairly pointless to discuss language marketshare
without better figures - anyone have any?

Terry
--
tsikes@netcom.com




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-04  0:00         ` Ada Terry Sikes
  2000-01-05  0:00           ` Ada Robert Dewar
@ 2000-01-06  0:00           ` Al Christians
  2000-01-06  0:00             ` Ada Terry Sikes
  2000-01-07  0:00             ` Ada Robert Dewar
  1 sibling, 2 replies; 91+ messages in thread
From: Al Christians @ 2000-01-06  0:00 UTC (permalink / raw)


Terry Sikes wrote:
> 
> >This same talk put Visual basic at about 50% of
> >PC development, and that also sounds about right to me,
> >with C/C++ being about 15%.
> 
> 50% of Windows (not PC) development, even if true, ignores major
> market segments:
> 

In one of Capers Jones's books, he mentions many millions of workers
whose job description is not 'software developer' who spend some part 
of their work week developing software anyway.  VB might have a very 
large market share among that group of informal developers.    

Should the developers of Ada language products address the needs of 
that group?


Al




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-06  0:00           ` Ada Al Christians
@ 2000-01-06  0:00             ` Terry Sikes
  2000-01-07  0:00             ` Ada Robert Dewar
  1 sibling, 0 replies; 91+ messages in thread
From: Terry Sikes @ 2000-01-06  0:00 UTC (permalink / raw)


In article <3874CB8B.2613A67F@easystreet.com>,
Al Christians  <achrist@easystreet.com> wrote:
>Terry Sikes wrote:

>> 50% of Windows (not PC) development, even if true, ignores major
>> market segments:
>
>In one of Capers Jones's books, he mentions many millions of workers
>whose job description is not 'software developer' who spend some part 
>of their work week developing software anyway.  VB might have a very 
>large market share among that group of informal developers.    
>
>Should the developers of Ada language products address the needs of 
>that group?

Right, I personally wouldn't count someone who writes some Excel
(VBScript) macros for an accounting spreadsheet as a "software
developer".  I think VBScript isn't too bad for that level of
development, and that something (even 1/2;) as complex as Ada would
drive those users away.

At any rate, its pretty academic since probably 90%+ of those folk are
using MS Office, and its unlikely the scripting language there will
change anytime soon...  (I wonder what the equivalent is for Star
Office...?)

I'd guess there's a large group of self-taught web developers as well,
that might be a more fertile ground for Unix/Linux based tools.

Terry
--
tsikes@netcom.com





^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-06  0:00           ` Ada Al Christians
  2000-01-06  0:00             ` Ada Terry Sikes
@ 2000-01-07  0:00             ` Robert Dewar
  1 sibling, 0 replies; 91+ messages in thread
From: Robert Dewar @ 2000-01-07  0:00 UTC (permalink / raw)


In article <3874CB8B.2613A67F@easystreet.com>,
  Al Christians <achrist@easystreet.com> wrote:
> Should the developers of Ada language products address the
> needs of that group?

One way to do this is to make sure that Ada is a first class
citizen when it comes to the COM interface, so it can play in
the same playground as VB. We have worked hard in the case of
GNAT to make GNAT fully compatible with COM/DCOM, and you can
do some VERY neat things with GNAT in this arena. I am sure
David Botton will be happy to elaborate :-)

Robert Dewar
Ada Core Technologies


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-28  0:00   ` Ada Marin D. Condic
  1999-12-31  0:00     ` Ada Richard D Riehle
  2000-01-13  0:00     ` Ada Magnus Alexandersson
@ 2000-01-13  0:00     ` Magnus Alexandersson
  2 siblings, 0 replies; 91+ messages in thread
From: Magnus Alexandersson @ 2000-01-13  0:00 UTC (permalink / raw)


"Marin D. Condic" wrote:
 
> Definitely. I was recently at a big electronics store in San Jose and
> looked through their stacks of books relating to programming &
> languages. Hundreds of books available on C, C++, Perl, Cobol, etc. Not
> a single text on Ada, even though many good ones exist. 

My school is dropping Ada for Java since the Ada books are hiedously
expensive here in Sweden and Javabooks come by the tenfold...

Reality bites, huh?"Marin D. Condic" wrote:
> 
> Roger Racine wrote:
> > 2) Time to Market.  Ada is a readable language.  C is a writeable
> > language.  People think they are more productive using C because they
> > get to integration faster, and they might get a software system to
> > market sooner than with Ada.  Ada will allow people to find certain
> > errors more easily, but this is not perceived to be a significant
> > enough improvement, and for most commercial software, getting all the
> > bugs out is not necessary to getting a product out.
> >
> I beg to differ - sort of. In many systems Ada gets you to market sooner
> with fewer problems. Assuming skilled programmers in each case. Where
> C/C++ has an edge is in areas where you get tons of reusable libraries
> with it, such as in Visual C++. But this is just one type of system
> development. I've been playing with the CLAW GUI builder demo and found
> that it will build Ada GUI programs quite easily, so it isn't as if Ada
> *can't* do it - just that it isn't as easily marketed. If you got CLAW,
> a compiler, a bunch of utilities (Similar to MFC? Where is the ACLWG
> these days anyway?) manuals, tutorials, a book, a configuration
> management system, etc. all in one package it might compete well in the
> "Time To Market" field. All these things exist, but not as a single, one
> stop shopping, package. (Maybe a teaming effort is needed?)
> 
> > 5) Tools.  Books, compilers, development environments, are all more
> > available and cheaper for C than for Ada.  I can go into a local
> 
> Definitely. I was recently at a big electronics store in San Jose and
> looked through their stacks of books relating to programming &
> languages. Hundreds of books available on C, C++, Perl, Cobol, etc. Not
> a single text on Ada, even though many good ones exist. It is sort of a
> deadlock situation - The store doesn't want to stock something for which
> there won't be a reasonable level of sales. The potential vendors don't
> want to subsidize it because revenues are too thin to do so. The
> potential users have little interest because it isn't just sitting right
> there waiting for them to pick it up. The deadlock continues.
> 
> Now potentially, it would be possible for some of the vendors to get
> together to produce an integrated package with each supplying some part
> of the end product. A joint venture would spread the risk and might
> bring sufficient resources to bear to actually put up a shrink-wrapped
> package on a display rack on the floor of a few computer stores. Done
> right with a sufficiently narrow focus, it could succeed and make
> everyone a few bucks while making Ada a bit more prevalent. I'd
> certainly be interested in discussing it... ;-)
> 
> MDC
> --
> =============================================================
> Marin David Condic   - Quadrus Corporation -   1.800.555.3393
> 1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
> http://www.quadruscorp.com/
> m c o n d i c @ q u a d r u s c o r p . c o m
> 
> Visit my web site at:  http://www.mcondic.com/
> 
> "Capitalism without failure is like religion without sin."
>         --  Allan Meltzer, Economist
> =============================================================


-- 
///Magnus

http://www.mdtsud.chalmers.se/~md8maal




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  1999-12-28  0:00   ` Ada Marin D. Condic
  1999-12-31  0:00     ` Ada Richard D Riehle
@ 2000-01-13  0:00     ` Magnus Alexandersson
  2000-01-14  0:00       ` Ada Tarjei T. Jensen
  2000-01-13  0:00     ` Ada Magnus Alexandersson
  2 siblings, 1 reply; 91+ messages in thread
From: Magnus Alexandersson @ 2000-01-13  0:00 UTC (permalink / raw)


"Marin D. Condic" wrote:
 
> Definitely. I was recently at a big electronics store in San Jose and
> looked through their stacks of books relating to programming &
> languages. Hundreds of books available on C, C++, Perl, Cobol, etc. Not
> a single text on Ada, even though many good ones exist. 

My school is dropping Ada for Java since the Ada books are hiedously
expensive here in Sweden and Javabooks come by the tenfold...

Reality bites, huh?

- 
///Magnus

http://www.mdtsud.chalmers.se/~md8maal




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Ada
       [not found]               ` <y4wvpdknsm.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>
@ 2000-01-14  0:00                 ` Andy Glew
  2000-01-14  0:00                   ` Ada Chris Morgan
  2000-01-14  0:00                   ` Ada Marin D. Condic
  0 siblings, 2 replies; 91+ messages in thread
From: Andy Glew @ 2000-01-14  0:00 UTC (permalink / raw)


> > If you can get C and Unix for free why do you need Ada and Ada-OS?

Just for my own knowledge: does GNU Ada (GNATS) support a full
Ada-OS, including the real-time and multithreading constructs like
rendezvous?  Do these run on stock hardware? On LINUX?

I have often thought that one of the big barriers to Ada's acceptance
was the multithreading and real time control - or, at least the perception
that they were required.

If the OS constructs had been optional, Ada would be a quite nice
language to program in. Variant records, if nothing else... explicit control
over memory layout, etc.









^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-13  0:00     ` Ada Magnus Alexandersson
@ 2000-01-14  0:00       ` Tarjei T. Jensen
  2000-01-14  0:00         ` Ada Larry Kilgallen
  0 siblings, 1 reply; 91+ messages in thread
From: Tarjei T. Jensen @ 2000-01-14  0:00 UTC (permalink / raw)



Magnus Alexandersson wrote:
>My school is dropping Ada for Java since the Ada books are hiedously
>expensive here in Sweden and Javabooks come by the tenfold...


Are the students time worthless? 


Greetings,







^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00       ` Ada Tarjei T. Jensen
@ 2000-01-14  0:00         ` Larry Kilgallen
  2000-01-14  0:00           ` Ada Marin D. Condic
  0 siblings, 1 reply; 91+ messages in thread
From: Larry Kilgallen @ 2000-01-14  0:00 UTC (permalink / raw)


In article <85mpvr$mm42@ftp.kvaerner.com>, "Tarjei T. Jensen" <tarjei.jensen@kvaerner.com> writes:
> 
> Magnus Alexandersson wrote:
>>My school is dropping Ada for Java since the Ada books are hiedously
>>expensive here in Sweden and Javabooks come by the tenfold...
> 
> 
> Are the students time worthless? 

Perhaps even more money could be saved by changing the course to teach
them how to program Excel spreadsheets.

Larry Kilgallen




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00         ` Ada Larry Kilgallen
@ 2000-01-14  0:00           ` Marin D. Condic
  2000-01-14  0:00             ` Ada Magnus Alexandersson
  0 siblings, 1 reply; 91+ messages in thread
From: Marin D. Condic @ 2000-01-14  0:00 UTC (permalink / raw)


Larry Kilgallen wrote:
> 
> In article <85mpvr$mm42@ftp.kvaerner.com>, "Tarjei T. Jensen" <tarjei.jensen@kvaerner.com> writes:
> >
> > Magnus Alexandersson wrote:
> >>My school is dropping Ada for Java since the Ada books are hiedously
> >>expensive here in Sweden and Javabooks come by the tenfold...
> >
> >
> > Are the students time worthless?
> 
> Perhaps even more money could be saved by changing the course to teach
> them how to program Excel spreadsheets.
> 
Or let's just teach them how to use Notepad because it comes free with
Windows, has on-line documentation and is so simple that the students
wouldn't need to waste time even reading it. (Tongue firmly planted in
cheek)

Seriously: From what I've seen of Ada books, they aren't hugely out of
line with respect to price from books on other computer topics. College
level texts I've seen in the last couple of years on other topics have
been even more spendy than any of the Ada books I've purchased. The
largest cost of college is tuition. Why structure college courses around
the cost of books? (Maybe they could hire less expensive instructors?)

If I were Dean of the Computer Science department, I'd be more
interested in building a curriculum that presented important concepts in
the subject rather than picking topics because of current industry fads
or the cost of texts. But that's just me.

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00                 ` Ada Andy Glew
  2000-01-14  0:00                   ` Ada Chris Morgan
@ 2000-01-14  0:00                   ` Marin D. Condic
  2000-01-15  0:00                     ` Ada Andy Glew
  1 sibling, 1 reply; 91+ messages in thread
From: Marin D. Condic @ 2000-01-14  0:00 UTC (permalink / raw)


Andy Glew wrote:
> 
> > > If you can get C and Unix for free why do you need Ada and Ada-OS?
> 
> Just for my own knowledge: does GNU Ada (GNATS) support a full
> Ada-OS, including the real-time and multithreading constructs like
> rendezvous?  Do these run on stock hardware? On LINUX?
> 
There are others on this group who can provide much more detailed and
authoritative answere, but the short form is this: Yes, GNAT supports
Ada's tasking features and does a pretty good job of it. On a platform
that has an OS of its own, (WindowsNT, Flavors of Unix, etc.) GNAT maps
to operating system primitives to support tasks. On a bare machine, you
need to provide a RTOS such as RTEMS to provide the tasking primitives.

This is generally the case for all modern implementations of Ada, so
tasking is widely available. It works quite well, provided that the
application implementors understand tasks and know when they should or
should not be used.

BTW: I don't see how this could be perceived as a handicap to Ada. It
provides a facility most other languages do not, yet if your application
has no need of it, there is no real penalty. How do you see it as a
barrier to using Ada?

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00           ` Ada Marin D. Condic
@ 2000-01-14  0:00             ` Magnus Alexandersson
  2000-01-14  0:00               ` Ada Marin D. Condic
  0 siblings, 1 reply; 91+ messages in thread
From: Magnus Alexandersson @ 2000-01-14  0:00 UTC (permalink / raw)


"Marin D. Condic" wrote:

> Seriously: From what I've seen of Ada books, they aren't hugely out of
> line with respect to price from books on other computer topics. College
> level texts I've seen in the last couple of years on other topics have
> been even more spendy than any of the Ada books I've purchased. The
> largest cost of college is tuition. Why structure college courses around
> the cost of books? (Maybe they could hire less expensive instructors?)

Our dean says that there aren't many books out there that meets the
desired content of the
courses... Well, I believe that it's programming as a general thing to
study, not the language. On the other hand, since I learnt Ada, I've now
noticed how easy (;p) C became.
 
> If I were Dean of the Computer Science department, I'd be more
> interested in building a curriculum that presented important concepts in
> the subject rather than picking topics because of current industry fads
> or the cost of texts. But that's just me.

We are doing that now, learning the way of programming... Not just the
languagepart, se above.

-- 
///Magnus

http://www.mdtsud.chalmers.se/~md8maal




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00             ` Ada Magnus Alexandersson
@ 2000-01-14  0:00               ` Marin D. Condic
  0 siblings, 0 replies; 91+ messages in thread
From: Marin D. Condic @ 2000-01-14  0:00 UTC (permalink / raw)


Magnus Alexandersson wrote:
> 
> Our dean says that there aren't many books out there that meets the
> desired content of the
> courses... Well, I believe that it's programming as a general thing to
> study, not the language. On the other hand, since I learnt Ada, I've now
> noticed how easy (;p) C became.
> 
I'm presuming that language may be an issue in the texts selected, so
that may be a limiting factor. There are a number of books available in
English at least which will address Ada itself as well as Ada in
specific application domains. You might look at the "books" section of
http://www.AdaPower.com/ for a few references.

If you've learned how to program better C code from having studied Ada,
then you have definitely learned something valuable. One reason for
studying languages like Ada is to understand concepts which may be
possible in other languages, but are not as directly supported.

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00                 ` Ada Andy Glew
@ 2000-01-14  0:00                   ` Chris Morgan
  2000-01-14  0:00                   ` Ada Marin D. Condic
  1 sibling, 0 replies; 91+ messages in thread
From: Chris Morgan @ 2000-01-14  0:00 UTC (permalink / raw)


"Andy Glew" <glew@cs.wisc.edu> writes:

> > > If you can get C and Unix for free why do you need Ada and Ada-OS?
> 
> Just for my own knowledge: does GNU Ada (GNATS) support a full
> Ada-OS, including the real-time and multithreading constructs like
> rendezvous?  Do these run on stock hardware? On LINUX?

Full (i.e. strict) compliance with Ada semantics needs root privilege
on some OSs (e.g. Solaris last time I checked) so that your threads
can get true pre-emptive multi-threading (e.g. by running in the
real-time rather than time-sharing scheduling priority
class). Otherwise (again on Solaris, last time I checked) there are
things like threads going to the back of their queue after being
pre-empted by a higher priority thread, which is incorrect for true
pre-emption (it looks to the thread like it got preempted by a
"sibling"). On the other hand you can even chose user-space or kernel
threads. There is some advanced work on this stuff going on at FSU
e.g. to make user-space threads more useful by letting another thread
work when one blocks on I/O.

Additionally the GNAT compiler has lots of other goodies. Check out
www.gnat.com and www.gnuada.org for some nice starting points. Markus
Kuhn at Cambridge has implemented a candidate Serpent (some crypto
scheme) implementation in Ada, don't know how it did.

The above is probably garbled (long day) hope it give you some idea.

Chris
-- 
Chris Morgan <cm at mihalis.net>                  http://mihalis.net




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-14  0:00                   ` Ada Marin D. Condic
@ 2000-01-15  0:00                     ` Andy Glew
  2000-01-15  0:00                       ` Ada Chris Morgan
  2000-01-15  0:00                       ` Ada Marin D. Condic
  0 siblings, 2 replies; 91+ messages in thread
From: Andy Glew @ 2000-01-15  0:00 UTC (permalink / raw)


> BTW: I don't see how this could be perceived as a handicap to Ada. It
> provides a facility most other languages do not, yet if your application
> has no need of it, there is no real penalty. How do you see it as a
> barrier to using Ada?

(1) It was a barrier to ports.

(2) A long as there is absolutely no real penalty.






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-15  0:00                     ` Ada Andy Glew
@ 2000-01-15  0:00                       ` Chris Morgan
  2000-01-15  0:00                       ` Ada Marin D. Condic
  1 sibling, 0 replies; 91+ messages in thread
From: Chris Morgan @ 2000-01-15  0:00 UTC (permalink / raw)


"Andy Glew" <glew@cs.wisc.edu> writes:

> > BTW: I don't see how this could be perceived as a handicap to Ada. It
> > provides a facility most other languages do not, yet if your application
> > has no need of it, there is no real penalty. How do you see it as a
> > barrier to using Ada?
> 
> (1) It was a barrier to ports.
> 
> (2) A long as there is absolutely no real penalty.

There is a setup of GNAT called GNORT (GNAT with absolutely No
RunTime). No penalty there.
-- 
Chris Morgan <cm at mihalis.net>                  http://mihalis.net




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2000-01-15  0:00                     ` Ada Andy Glew
  2000-01-15  0:00                       ` Ada Chris Morgan
@ 2000-01-15  0:00                       ` Marin D. Condic
  1 sibling, 0 replies; 91+ messages in thread
From: Marin D. Condic @ 2000-01-15  0:00 UTC (permalink / raw)


Andy Glew wrote:
> 
> > BTW: I don't see how this could be perceived as a handicap to Ada. It
> > provides a facility most other languages do not, yet if your application
> > has no need of it, there is no real penalty. How do you see it as a
> > barrier to using Ada?
> 
> (1) It was a barrier to ports.
> 
> (2) A long as there is absolutely no real penalty.

O.K., I can see #1 to a point. Ports to small microprocessors still
don't exist in any real numbers and some of this may be due to perceived
difficulties in getting tasking to work there.

#2 has the conditional: "It Depends" attached to it. Certainly for
compilers that target a capable OS with tasking primitives should not
exhibit any penalties for tasking when it is not used, since it is the
OS that holds all (most) of the code. For embedded targets where you
have to supply some sort of RTK, the question becomes "how good is the
compiler/linker at removing dead code?" Many modern linkers are pretty
good at eliminating subroutines that are never called. And of course, it
still comes down to the specific implementation. A poor quality compiler
for any language is going to create penalties and WRT Ada, there are
more opportunities to do so than in less sophisticated language.
However, there isn't anything inherent in the language design which
makes it impossible to generate efficient, tight code. There are many
Ada compilers which do so.

The trick is to do a good evaluation of the compilers available for the
application at hand and see what sort of code generation you really get.
Some are overall better than others. Each does some things well and
other things poorly. You always want to build some sample code similar
to the intended application and see what you get with a specific
compiler. This is true for any language.

MDC
-- 
=============================================================
Marin David Condic   - Quadrus Corporation -   1.800.555.3393
1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233
http://www.quadruscorp.com/
m c o n d i c @ q u a d r u s c o r p . c o m

Visit my web site at:  http://www.mcondic.com/

"Capitalism without failure is like religion without sin." 
        --  Allan Meltzer, Economist 
=============================================================




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Ada
@ 2005-01-26 20:06 mcf501
  2005-01-26 20:24 ` Ada Larry Kilgallen
                   ` (6 more replies)
  0 siblings, 7 replies; 91+ messages in thread
From: mcf501 @ 2005-01-26 20:06 UTC (permalink / raw)


I was just wondering if it is possible to change the colour of a string
in ada 95?




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
@ 2005-01-26 20:24 ` Larry Kilgallen
  2005-01-26 23:55   ` Ada Stephen Leake
  2005-01-26 20:35 ` Ada Frank J. Lhota
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 91+ messages in thread
From: Larry Kilgallen @ 2005-01-26 20:24 UTC (permalink / raw)


In article <1106770009.493447.308200@c13g2000cwb.googlegroups.com>, mcf501@york.ac.uk writes:
> I was just wondering if it is possible to change the colour of a string
> in ada 95?

Ada strings have no attribute called "color".

If you mean to change the color in which a string is displayed,
that depends on your operating system and display hardware.  On
an older terminal, for instance, the only two color choices are
Black and White.



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
  2005-01-26 20:24 ` Ada Larry Kilgallen
@ 2005-01-26 20:35 ` Frank J. Lhota
  2005-01-26 23:57   ` Ada Stephen Leake
  2005-01-26 20:57 ` Ada Ludovic Brenta
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 91+ messages in thread
From: Frank J. Lhota @ 2005-01-26 20:35 UTC (permalink / raw)


<mcf501@york.ac.uk> wrote in message 
news:1106770009.493447.308200@c13g2000cwb.googlegroups.com...
>I was just wondering if it is possible to change the colour of a string
> in ada 95?

If by string you mean an array of characters, then no, you cannot change its 
colour, if for no other reason than the fact that an array of characters 
does not have a colour component.

Most likely, you meant "How can I change the color of text displayed on a 
Window?". To answer the question, we would need to know the OS. It's really 
more of an OS issue than a language issue.






^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
  2005-01-26 20:24 ` Ada Larry Kilgallen
  2005-01-26 20:35 ` Ada Frank J. Lhota
@ 2005-01-26 20:57 ` Ludovic Brenta
  2005-01-26 23:54 ` Ada Stephen Leake
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 91+ messages in thread
From: Ludovic Brenta @ 2005-01-26 20:57 UTC (permalink / raw)


> I was just wondering if it is possible to change the colour of a string
> in ada 95?

It reminds me of an old joke, "what colour do you want your database?"

:)

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
                   ` (2 preceding siblings ...)
  2005-01-26 20:57 ` Ada Ludovic Brenta
@ 2005-01-26 23:54 ` Stephen Leake
  2005-01-27  0:42 ` Ada Jeffrey Carter
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 91+ messages in thread
From: Stephen Leake @ 2005-01-26 23:54 UTC (permalink / raw)
  To: comp.lang.ada

mcf501@york.ac.uk writes:

> I was just wondering if it is possible to change the colour of a string
> in ada 95?

This is just too tempting :).

<bogus comments>

I edit Ada 95 code with Emacs, which provides colorization of strings
(among other things). The variable that sets the color of these
strings is font-lock-string-face.

Here is the definition of font-lock-string-face:

(defface font-lock-string-face
  '((((type tty) (class color)) (:foreground "green"))
    (((class grayscale) (background light)) (:foreground "DimGray" :italic t))
    (((class grayscale) (background dark)) (:foreground "LightGray" :italic t))
    (((class color) (background light)) (:foreground "RosyBrown"))
    (((class color) (background dark)) (:foreground "LightSalmon"))
    (t (:italic t)))
  "Font Lock mode face used to highlight strings."
  :group 'font-lock-highlighting-faces)


So, to change the color of a string in Ada 95, I would change one of
the colors listed above.

</bogus comments>

That was fun :).

I assume you are really asking about the color of a string displayed
in a particular graphical user interface. You'll have to tell us which
GUI toolkit you are using, on which operating system, to get anything
like a helpful answer.

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:24 ` Ada Larry Kilgallen
@ 2005-01-26 23:55   ` Stephen Leake
  0 siblings, 0 replies; 91+ messages in thread
From: Stephen Leake @ 2005-01-26 23:55 UTC (permalink / raw)
  To: comp.lang.ada

Kilgallen@SpamCop.net (Larry Kilgallen) writes:

> In article <1106770009.493447.308200@c13g2000cwb.googlegroups.com>, mcf501@york.ac.uk writes:
> > I was just wondering if it is possible to change the colour of a string
> > in ada 95?
> 
> Ada strings have no attribute called "color".
> 
> If you mean to change the color in which a string is displayed,
> that depends on your operating system and display hardware.  On
> an older terminal, for instance, the only two color choices are
> Black and White.

Or Black and Green. Or Orange, on my first home computer. That was a
fun little Apple II clone; I wrote my first Pascal on that machine.
That was fun, too :).

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:35 ` Ada Frank J. Lhota
@ 2005-01-26 23:57   ` Stephen Leake
  0 siblings, 0 replies; 91+ messages in thread
From: Stephen Leake @ 2005-01-26 23:57 UTC (permalink / raw)
  To: comp.lang.ada

"Frank J. Lhota" <NOSPAM.Lhota.adarose@verizon.net> writes:

> <mcf501@york.ac.uk> wrote in message 
> news:1106770009.493447.308200@c13g2000cwb.googlegroups.com...
> >I was just wondering if it is possible to change the colour of a string
> > in ada 95?
> 
> Most likely, you meant "How can I change the color of text displayed on a 
> Window?". To answer the question, we would need to know the OS. It's really 
> more of an OS issue than a language issue.

more precisely, it's a GUI library/display issue. VMS and Unix don't
care what display you are using; X Windows, Gtk, Qt do. Only on
Windows is the GUI tightly tied to the OS, and that is changing as Gtk
and X Windows become easier to use on Windows.

Best thread in a while :).

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
                   ` (3 preceding siblings ...)
  2005-01-26 23:54 ` Ada Stephen Leake
@ 2005-01-27  0:42 ` Jeffrey Carter
  2005-01-27  1:17   ` Ada Larry Kilgallen
  2005-01-27  7:57 ` Ada Frank Piron
  2005-01-27  9:12 ` Ada Martin Krischik
  6 siblings, 1 reply; 91+ messages in thread
From: Jeffrey Carter @ 2005-01-27  0:42 UTC (permalink / raw)


mcf501@york.ac.uk wrote:

> I was just wondering if it is possible to change the colour of a string
> in ada 95?

Can you change the color in some other language? If so, then you can 
change it in Ada.

-- 
Jeff Carter
"We use a large, vibrating egg."
Annie Hall
44



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27  0:42 ` Ada Jeffrey Carter
@ 2005-01-27  1:17   ` Larry Kilgallen
  2005-01-27  4:43     ` Ada u_int32_t
  0 siblings, 1 reply; 91+ messages in thread
From: Larry Kilgallen @ 2005-01-27  1:17 UTC (permalink / raw)


In article <WNWJd.7145$r27.4742@newsread1.news.pas.earthlink.net>, Jeffrey Carter <spam@spam.com> writes:

> Can you change the color in some other language?

Only if the color wants to change :-)



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27  1:17   ` Ada Larry Kilgallen
@ 2005-01-27  4:43     ` u_int32_t
  2005-01-27  8:10       ` Ada Larry Kilgallen
  2005-01-27 21:01       ` Ada Björn Lundin
  0 siblings, 2 replies; 91+ messages in thread
From: u_int32_t @ 2005-01-27  4:43 UTC (permalink / raw)


On Wed, 26 Jan 2005 19:17:34 -0600, Larry Kilgallen wrote:

> In article <WNWJd.7145$r27.4742@newsread1.news.pas.earthlink.net>,
> Jeffrey Carter <spam@spam.com> writes:
> 
>> Can you change the color in some other language?
> 
> Only if the color wants to change :-)

I've heard that even if the colour wants to change, the system sometimes
doesn't want it to change and it shows a blue screen to protest



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
                   ` (4 preceding siblings ...)
  2005-01-27  0:42 ` Ada Jeffrey Carter
@ 2005-01-27  7:57 ` Frank Piron
  2005-01-27 10:53   ` Ada Larry Kilgallen
  2005-01-27  9:12 ` Ada Martin Krischik
  6 siblings, 1 reply; 91+ messages in thread
From: Frank Piron @ 2005-01-27  7:57 UTC (permalink / raw)


Am 26 Jan 2005 12:06:49 -0800 schrieb <mcf501@york.ac.uk>:

> I was just wondering if it is possible to change the colour of a string
> in ada 95?
>
If you want coloured text output without GUI then
you may use ANSI sequences on UNIX/Linux and e.g. this
http://users.ncrvnet.nl/gmvdijk/packages.html#CONSOLE
package (Jerry van Dijk) for win32.
-- 
Frank Piron,
defrankatkonaddot
(leftrotate two)



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27  4:43     ` Ada u_int32_t
@ 2005-01-27  8:10       ` Larry Kilgallen
  2005-01-27 21:01       ` Ada Björn Lundin
  1 sibling, 0 replies; 91+ messages in thread
From: Larry Kilgallen @ 2005-01-27  8:10 UTC (permalink / raw)


In article <pan.2005.01.27.04.43.28.350331@aol.com>, u_int32_t <u_int32_t@aol.com> writes:
> On Wed, 26 Jan 2005 19:17:34 -0600, Larry Kilgallen wrote:
> 
>> In article <WNWJd.7145$r27.4742@newsread1.news.pas.earthlink.net>,
>> Jeffrey Carter <spam@spam.com> writes:
>> 
>>> Can you change the color in some other language?
>> 
>> Only if the color wants to change :-)
> 
> I've heard that even if the colour wants to change, the system sometimes
> doesn't want it to change and it shows a blue screen to protest

	1. If anyone notices the screen going blue, it was other than
	   blue before, no matter how briefly.

	2. Therefore the color changed !



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-26 20:06 Ada mcf501
                   ` (5 preceding siblings ...)
  2005-01-27  7:57 ` Ada Frank Piron
@ 2005-01-27  9:12 ` Martin Krischik
  6 siblings, 0 replies; 91+ messages in thread
From: Martin Krischik @ 2005-01-27  9:12 UTC (permalink / raw)


mcf501@york.ac.uk wrote:

> I was just wondering if it is possible to change the colour of a string
> in ada 95?

If your Colour Monitor, a Colour Graphic-Card and a TUI or GUI installed
which supports Colour then: Yes.

Alternative: you have a Colour Printer attached. That would work as well.

If you want more help you have to specify your question in more detail.

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27  7:57 ` Ada Frank Piron
@ 2005-01-27 10:53   ` Larry Kilgallen
  2005-01-27 11:05     ` Ada Frank Piron
                       ` (2 more replies)
  0 siblings, 3 replies; 91+ messages in thread
From: Larry Kilgallen @ 2005-01-27 10:53 UTC (permalink / raw)


In article <opsk84dswem0et4w@news.online.de>, Frank Piron <empty@zero.nil> writes:
> Am 26 Jan 2005 12:06:49 -0800 schrieb <mcf501@york.ac.uk>:
> 
>> I was just wondering if it is possible to change the colour of a string
>> in ada 95?
>>
> If you want coloured text output without GUI then
> you may use ANSI sequences on UNIX/Linux

ANSI sequences are related to the terminal or terminal emulator,
independent of the operating system.  They work fine on VMS also.



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27 10:53   ` Ada Larry Kilgallen
@ 2005-01-27 11:05     ` Frank Piron
  2005-01-27 11:19     ` Ada Adrien Plisson
  2005-01-28 10:27     ` Ada Stephen Leake
  2 siblings, 0 replies; 91+ messages in thread
From: Frank Piron @ 2005-01-27 11:05 UTC (permalink / raw)


Am 27 Jan 2005 04:53:25 -0600 schrieb Larry Kilgallen 
<Kilgallen@SpamCop.net>:

> In article <opsk84dswem0et4w@news.online.de>, Frank Piron 
> <empty@zero.nil> writes:
>> Am 26 Jan 2005 12:06:49 -0800 schrieb <mcf501@york.ac.uk>:
>>
>>> I was just wondering if it is possible to change the colour of a string
>>> in ada 95?
>>>
>> If you want coloured text output without GUI then
>> you may use ANSI sequences on UNIX/Linux
>
> ANSI sequences are related to the terminal or terminal emulator,
> independent of the operating system.  They work fine on VMS also.

Of course you are right.

-- 
Frank Piron,
defrankatkonaddot
(leftrotate two)



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27 10:53   ` Ada Larry Kilgallen
  2005-01-27 11:05     ` Ada Frank Piron
@ 2005-01-27 11:19     ` Adrien Plisson
  2005-01-28 10:27     ` Ada Stephen Leake
  2 siblings, 0 replies; 91+ messages in thread
From: Adrien Plisson @ 2005-01-27 11:19 UTC (permalink / raw)


Larry Kilgallen wrote:
> ANSI sequences are related to the terminal or terminal emulator,
> independent of the operating system.  They work fine on VMS also.

they may also work in some particular situations under DOS/Windows.
you have to use command.com (not cmd.exe) with the ansi.sys driver 
loaded. refer to microsoft documentation for how to do this.

note: on recents versions of Windows (NT/2000/XP) it could be tricky 
to make it work...

-- 
rien



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27  4:43     ` Ada u_int32_t
  2005-01-27  8:10       ` Ada Larry Kilgallen
@ 2005-01-27 21:01       ` Björn Lundin
  1 sibling, 0 replies; 91+ messages in thread
From: Björn Lundin @ 2005-01-27 21:01 UTC (permalink / raw)
  To: comp.lang.ada

torsdag 27 januari 2005 05:43 skrev u_int32_t:
> On Wed, 26 Jan 2005 19:17:34 -0600, Larry Kilgallen wrote:
> > In article <WNWJd.7145$r27.4742@newsread1.news.pas.earthlink.net>,
> >
> > Jeffrey Carter <spam@spam.com> writes:
> >> Can you change the color in some other language?
> >
> > Only if the color wants to change :-)
>
> I've heard that even if the colour wants to change, the system sometimes
> doesn't want it to change and it shows a blue screen to protest

Then let's hope that the OP wanted to change the string to the color blue :)
/Björn

> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada



^ permalink raw reply	[flat|nested] 91+ messages in thread

* Re: Ada
  2005-01-27 10:53   ` Ada Larry Kilgallen
  2005-01-27 11:05     ` Ada Frank Piron
  2005-01-27 11:19     ` Ada Adrien Plisson
@ 2005-01-28 10:27     ` Stephen Leake
  2 siblings, 0 replies; 91+ messages in thread
From: Stephen Leake @ 2005-01-28 10:27 UTC (permalink / raw)
  To: comp.lang.ada

Kilgallen@SpamCop.net (Larry Kilgallen) writes:

> In article <opsk84dswem0et4w@news.online.de>, Frank Piron <empty@zero.nil> writes:
> > Am 26 Jan 2005 12:06:49 -0800 schrieb <mcf501@york.ac.uk>:
> > 
> >> I was just wondering if it is possible to change the colour of a string
> >> in ada 95?
> >>
> > If you want coloured text output without GUI then
> > you may use ANSI sequences on UNIX/Linux
> 
> ANSI sequences are related to the terminal or terminal emulator,
> independent of the operating system.  They work fine on VMS also.

And just to be pedantic, any device that outputs (or reflects) photons
(that are visible to humans) is a "graphical user interface". We just
didn't know enough to call "terminals" "GUIs" back then.

:).

-- 
-- Stephe




^ permalink raw reply	[flat|nested] 91+ messages in thread

end of thread, other threads:[~2005-01-28 10:27 UTC | newest]

Thread overview: 91+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 20:06 Ada mcf501
2005-01-26 20:24 ` Ada Larry Kilgallen
2005-01-26 23:55   ` Ada Stephen Leake
2005-01-26 20:35 ` Ada Frank J. Lhota
2005-01-26 23:57   ` Ada Stephen Leake
2005-01-26 20:57 ` Ada Ludovic Brenta
2005-01-26 23:54 ` Ada Stephen Leake
2005-01-27  0:42 ` Ada Jeffrey Carter
2005-01-27  1:17   ` Ada Larry Kilgallen
2005-01-27  4:43     ` Ada u_int32_t
2005-01-27  8:10       ` Ada Larry Kilgallen
2005-01-27 21:01       ` Ada Björn Lundin
2005-01-27  7:57 ` Ada Frank Piron
2005-01-27 10:53   ` Ada Larry Kilgallen
2005-01-27 11:05     ` Ada Frank Piron
2005-01-27 11:19     ` Ada Adrien Plisson
2005-01-28 10:27     ` Ada Stephen Leake
2005-01-27  9:12 ` Ada Martin Krischik
     [not found] <MPG.12c98531dcc142319896ce@news.uci.kun.nl>
     [not found] ` <83reu2$2soi$1@msunews.cl.msu.edu>
     [not found]   ` <38615cc4.22862595@news.shuswap.net>
     [not found]     ` <84dnsu$g69@nnrp1.farm.idt.net>
     [not found]       ` <84drm7$ss8$1@news.rchland.ibm.com>
     [not found]         ` <855lqp$t2@nnrp4.farm.idt.net>
     [not found]           ` <ey3vh54ybxh.fsf@cley.com>
     [not found]             ` <85l4kt$e9q@nnrp1.farm.idt.net>
     [not found]               ` <y4wvpdknsm.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de>
2000-01-14  0:00                 ` Ada Andy Glew
2000-01-14  0:00                   ` Ada Chris Morgan
2000-01-14  0:00                   ` Ada Marin D. Condic
2000-01-15  0:00                     ` Ada Andy Glew
2000-01-15  0:00                       ` Ada Chris Morgan
2000-01-15  0:00                       ` Ada Marin D. Condic
  -- strict thread matches above, loose matches on Subject: below --
1999-12-23  0:00 Ada Brijesh
1999-12-23  0:00 ` Ada Robert Dewar
1999-12-23  0:00   ` Ada tmoran
1999-12-23  0:00 ` Ada Jon Jensen
1999-12-23  0:00 ` Ada reason67
1999-12-23  0:00   ` Ada Robert Dewar
2000-01-03  0:00     ` Ada Terry Sikes
2000-01-03  0:00       ` Ada Hyman Rosen
2000-01-04  0:00         ` Ada Richard D Riehle
2000-01-04  0:00           ` Ada Hyman Rosen
2000-01-04  0:00             ` Ada Robert A Duff
2000-01-04  0:00             ` Ada Richard D Riehle
2000-01-04  0:00         ` Ada Robert Dewar
2000-01-04  0:00           ` Ada Robert A Duff
2000-01-04  0:00             ` Ada Hyman Rosen
2000-01-04  0:00           ` Ada Hyman Rosen
2000-01-04  0:00         ` Ada Florian Weimer
2000-01-04  0:00           ` Ada Brian Rogoff
2000-01-04  0:00           ` Ada Hyman Rosen
2000-01-04  0:00         ` Ada Terry Sikes
2000-01-04  0:00       ` Ada Robert Dewar
2000-01-04  0:00         ` Ada Terry Sikes
2000-01-05  0:00           ` Ada Robert Dewar
2000-01-05  0:00             ` Ada Terry Sikes
2000-01-06  0:00           ` Ada Al Christians
2000-01-06  0:00             ` Ada Terry Sikes
2000-01-07  0:00             ` Ada Robert Dewar
1999-12-23  0:00 ` Ada Roger Racine
1999-12-28  0:00   ` Ada Marin D. Condic
1999-12-31  0:00     ` Ada Richard D Riehle
2000-01-02  0:00       ` Ada Marin D. Condic
2000-01-02  0:00         ` Ada Robert Dewar
2000-01-02  0:00           ` Ada Marin D. Condic
2000-01-03  0:00             ` Ada Ted Dennison
2000-01-03  0:00             ` Ada Robert Dewar
2000-01-03  0:00               ` Ada Marin D. Condic
2000-01-03  0:00                 ` Ada Larry Kilgallen
2000-01-04  0:00                   ` Ada Charles Hixson
2000-01-03  0:00                 ` Ada Roger Racine
2000-01-13  0:00     ` Ada Magnus Alexandersson
2000-01-14  0:00       ` Ada Tarjei T. Jensen
2000-01-14  0:00         ` Ada Larry Kilgallen
2000-01-14  0:00           ` Ada Marin D. Condic
2000-01-14  0:00             ` Ada Magnus Alexandersson
2000-01-14  0:00               ` Ada Marin D. Condic
2000-01-13  0:00     ` Ada Magnus Alexandersson
1999-12-23  0:00 ` Ada Greg Martin
1997-10-28  0:00 Ada N6101233
1997-08-23  0:00 Ada Jeffrey D. Iverson
1996-08-05  0:00 ada BCummi6553
1996-06-14  0:00 ADA Robert Adams
1990-03-12  2:14 A Poor Man's Ada Library Ted Holden
1990-03-12  5:08 ` Ada William Thomas Wolfe, 2847 
1990-03-15 20:32   ` Ada William B. Tyler
1990-03-16 14:08     ` Ada Dennis M. O'Connor
1990-03-08 18:46 ADA jj
1989-11-19  3:33 A farewell to Ada Ted Holden
1989-11-19 17:59 ` Ada William Thomas Wolfe, 2847 
1989-11-14 21:24 A farewell to Ada Ted Holden
1989-11-15 16:06 ` Ada William Thomas Wolfe, 2847 
1989-11-16 19:08   ` Ada Walter Rowe
1989-11-16 21:33     ` Ada William Thomas Wolfe, 2847 
1989-11-17 18:53       ` Ada Pablo Fernicola
1989-11-18 18:55         ` Ada William Thomas Wolfe, 2847 
1989-11-21  5:24           ` Ada Andrew Koenig
1989-11-22  9:54             ` Ada Mats Luthman
1989-11-22 18:44             ` Ada William Thomas Wolfe, 2847 
1989-11-23  9:44               ` Ada Mats Luthman
1989-11-23  7:12             ` Ada Markku Sakkinen
1989-11-18  6:38       ` Ada Marco S Hyman

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