[comp.sys.hp] which C++

wittmann@erb1.engr.wisc.edu (art wittmann) (08/09/90)

A number of faculty here are interested in using some type of c++ environment
on our HP 370's & 345's running HP-UX 7.0.

The options that I'm aware of are:

g++ (we've had trouble getting it to run, have others been successful?)

Objective C from stepstone

C++ from hp (I think this is basically a port of AT&T's C++).

I'm hoping to get some information on the relative merits and experiences
associated with these various implementations of C++.

Thanks much.

Art

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Art Wittmann                                  Phone: (608) 263-1748
Network Manager                               Email: wittmann@engr.wisc.edu
Computer Aided Engineering Center                or: wittmann@cae.wisc.edu
University of Wisconsin, Madison

bla@hpcupt1.HP.COM (Brad Ahlf) (08/10/90)

> A number of faculty here are interested in using some type of c++
> environment on our HP 370's & 345's running HP-UX 7.0.

> The options that I'm aware of are:
> g++ (we've had trouble getting it to run, have others been successful?)
> Objective C from stepstone

Very worthy products, I am sure.  You probably can't go too far wrong
with either choice.

> C++ from hp (I think this is basically a port of AT&T's C++).

Minimally correct.  :-) HP C++ *IS* a port of industry-standard ATT C++.
It also includes HP-UX (/usr/include and /usr/include/sys) and X11 and
Motif header files.  It also includes example source files from the HP,
Apollo, and Lippman manuals.  It also includes a copy of InterViews
complete with HP-UX patches in a 'contributed' fileset.  It also has a
bunch of HP-UX utilities/commands (nm++, yacc++, lex++, gprof++ make++,
mkmf++, and more).  It also includes a C++ programmer's library of stuff
like strings, dynamic arrays, parametric types (using macros), and more.
It also has lots of other HP features such as HP-added value code
quality, global optimization, interlanguage support, an extensive
documentation set, added compatibility with the ANSI C compiler, a
one-pass linker, 8- and 16-bit NLS support, C++ cpp support, K&R and
ANSI C and cpp modes, and all of the ATT libraries including the task
library.

HP C++ also includes complete xdb++/cdb++ Symbolic Debug support.  And
(nobody else with the ATT C++ translator has this) the debugger supports
the object-oriented features of the language such as overloaded
functions, class breakpoints, instance breakpoints, self-identifying
objects, and more.

HP C++ has also announced a complete C++ software development
environment built on top of SoftBench which includes a C++ class
construction and browsing tool.

> I'm hoping to get some information on the relative merits and
> experiences associated with these various implementations of C++.

No problem, as long as you overlook my understandable bias.  :-) If you
are interested in more info, you can obtain the Technical Data Sheets
from your local HP sales office or try calling the Customer Information
Center (1-800-752-0900).  Part numbers for the data sheets are:

HP C++/HP-UX 	5952-1568 (Use part numbers B1691A and B1693A to order
			   HP C++ S300 - data sheet has wrong number)
HP C++Developer 5952-2946 
HP C++/SoftBench 5952-2933

> Art

Brad Ahlf
bla@hpda.hp.com
This response does not represent the official position of, or statement
by, the Hewlett-Packard Company.  The above data is provided for
informational purposes only.  It is supplied without warranty of any
kind.

elaine@hpmtlx.HP.COM ($Elaine_May) (08/11/90)

> A number of faculty here are interested in using some type of c++ environment
> on our HP 370's & 345's running HP-UX 7.0.
> 
> The options that I'm aware of are:
> Objective C from stepstone

Objective-C is not C++.  It is an object-oriented language based on C,
as is C++, but the two languages are different.  Objective-C is "like
Smalltalk" and C++ is "like Simula", or so I've heard.  I've programmed
in them both and prefer C++ for the speed of the resulting program and
also because it makes more sense to me.

Elaine May
HP doesn't authorize me to speak for anyone...