comp.lang.ada
 help / color / mirror / Atom feed
From: James Rogers <jimmaureenrogers@worldnet.att.net>
Subject: Re: an interested business-oriented programmer
Date: Thu, 07 Jun 2001 05:30:11 GMT
Date: 2001-06-07T05:30:11+00:00	[thread overview]
Message-ID: <3B1F11FE.50619703@worldnet.att.net> (raw)
In-Reply-To: 3B1F09F8.A6521EEF@PublicPropertySoftware.com

Al Christians wrote:
> 
> But, if we are talking about business-oriented programming,
> does Aonix implement interfaces.COBOL and Annex F ("information
> systems", which includes decimal data)?
> 
> The competition is COBOL and/or either Java or C++ with a decimal
> numbers class library.
> 

I do not have the answer to that. I was using ObjectAda on the
PharLap ETS operating system for robotic controls. 

How much of an interface to COBOL will you get with Java or
C++? The only language interface defined for either of those
languages is C. Even without some Annex F, Ada supports business
applications better than C++ or Java. What kind of fixed point
numbers are defined as part of either language? (Does the answer
"none" come to mind?)

Let's talk a little about execution efficiency too. C++ and Ada
implementations exhibit similar execution efficienies, but both
still dramatically beat Java. I know a lot of effort has been
spent to improve the efficiency of Java Virtual Machines.
Improvements have been made. Parity has not been achieved. Even
more important is the fact that most common Java programming
idioms are terribly inefficient. For instance, editing each character
in a 1024 character Java string will require 2 Megabytes of
memory, and involve the creation and garbage collection of 1024
strings. The way around this is to convert the Java String object
to a Java StringBuffer object, perform all the edits, then convert
the StringBuffer object to another String object, requiring only
about 6 Kilobytes of memory and the creation ( and garbage
collection ) of three objects. This is clearly faster than the
use of only Java Strings, but also slower than editing an Ada 
string.

I do not see how C++ and Java can be considered close to Ada's
capabilities in the Business arena. C++ lacks Ada's numeric types
as well as any ability to interface with COBOL. Java mirrors
C++'s deficiencies topped off with a nasty dose of inefficiency.

COBOL is still a highly respectable language for business systems.
COBOL is optimized for large scale transaction processing
applications. The biggest problem facing COBOL is its aging
workforce. Few people are learning COBOL. Some companies are feeling
forced to develop solutions in other languages just so that they
can easily hire developers and maintainers for their code. With
that attitude, those employers are often going to choose the current
fad language rather than make a strict technical decision.

Another sad fact is that most employers looking to replace
COBOL have never heard of Ada. 

Jim Rogers
Colorado Springs, Colorado USA



  reply	other threads:[~2001-06-07  5:30 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-06 22:06 an interested business-oriented programmer Beard, Frank
2001-06-07  2:52 ` James Rogers
2001-06-07  3:15   ` Ed Falis
2001-06-07  4:58   ` Al Christians
2001-06-07  5:30     ` James Rogers [this message]
2001-06-07 13:52     ` Marin David Condic
2001-06-07 14:36       ` Stanley R. Allen
2001-06-07 16:12         ` Marin David Condic
2001-06-08  9:58       ` Ada on mainframes (Was: an interested business-oriented programmer) Jacob Sparre Andersen
2001-06-08 14:33         ` Gary Scott
2001-06-09  1:04         ` Larry Kilgallen
2001-06-09 16:46       ` an interested business-oriented programmer Robert A Duff
2001-06-11 13:57         ` Marin David Condic
     [not found] <20010607153207.573AE1926F@ada.eu.org>
2001-06-09 15:19 ` Michal Nowak
2001-06-09 16:54   ` Robert A Duff
2001-06-10  6:36     ` Pascal Obry
2001-06-10 11:08     ` Simon Wright
2001-06-11 14:07       ` Ted Dennison
2001-06-11 22:28         ` Georg Bauhaus
2001-06-12 14:25           ` Ted Dennison
2001-06-12 15:41             ` Georg Bauhaus
2001-06-12 16:43               ` James Rogers
  -- strict thread matches above, loose matches on Subject: below --
2001-06-06 16:22 Rod Weston
2001-06-06 17:14 ` Marin David Condic
2001-06-06 18:14   ` Gary Scott
2001-06-06 20:02     ` Marin David Condic
2001-06-06 20:52     ` Ted Dennison
2001-06-06 22:12       ` Gary Scott
2001-06-07  1:02         ` Jerry van Dijk
2001-06-07 13:42         ` Marin David Condic
2001-06-07 15:09           ` Ted Dennison
2001-06-07 14:58         ` Ted Dennison
2001-06-07 16:20           ` Gary Scott
2001-06-07 20:44             ` Ted Dennison
2001-06-07 21:36               ` Gary Scott
2001-06-07 19:44           ` tmoran
2001-06-07 20:04             ` Al Christians
2001-06-08 12:46               ` Florian Weimer
2001-06-08 13:20                 ` Al Christians
2001-06-08 16:02                   ` Florian Weimer
2001-06-09  1:08                     ` Larry Kilgallen
2001-06-09 17:52                       ` Georg Bauhaus
2001-06-10 14:23                         ` Larry Kilgallen
2001-06-10 19:10                           ` Jacob Sparre Andersen
2001-06-11 22:58                           ` Georg Bauhaus
2001-06-08 18:55             ` Pascal Obry
2001-06-07 17:05         ` Pascal Obry
2001-06-06 22:12       ` Marin David Condic
2001-06-06 17:49 ` tmoran
2001-06-06 18:03 ` Jerry van Dijk
replies disabled

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