[comp.lang.c++] C++ on cray UNICOS??

keith@uw-apl.UUCP (Keith Kerr) (07/27/89)

Is there an implementation of C++ running on cray./UNICOS
systems??  If not, could anyone venture a guess as to
how tough a port would be.  I've heard that UNICOS was
derived from some unix version, but I don't know anything
more about it.

rosenkra@hall.cray.com (Bill Rosenkranz) (08/01/89)

In article <241@uw-apl.UUCP> keith@uw-apl.UUCP (Keith Kerr) writes:
=Is there an implementation of C++ running on cray./UNICOS
=systems??  If not, could anyone venture a guess as to
=how tough a port would be.  I've heard that UNICOS was
=derived from some unix version, but I don't know anything
=more about it.


UNICOS is based on UNIX System V.3 so in theory, cfront should be possible.

i am not an expert on c++, but as i understand it, the research version
(1.2.1?) is a preprocessor which generates c code. cray has an ANSI-
compliant C as well as a vectorizing C which so far i have been able
to port numerous codes with (i have just started a port of GNU emacs
18.54 for a cray-2 under UNICOS 5.0, for example). so c++ is text in,
text out and it should not be a problem. the question is whether the
c code generated can readily be compiled. i suspect it can.

i have no knowledge of cray's plans for c++ but i suspect somebody
is playing around with it :^).

-bill
rosenkra@boston.cray.com
[i speak for me, not cray, so don't quote me...]

jac@muslix.llnl.gov (James Crotinger) (08/10/89)

  The Livermore Computer Center (LCC) at Lawrence Livermore National
Lab has been working on a port of CFRONT 1.2 to run under either LTSS
or NLTSS (not sure which). It is to be used as a front end for their
Hybrid C Compiler (HCC), which is an ANSI conforming C compiler (or
about as close as you can come). I know that LTSS is moving towards
"UNIX compliance" by providing UNIX compatible libraries and system
calls, so moving their port to UNICOS might not be too difficult.

  Jim

jac@muslix.llnl.gov (James Crotinger) (08/12/89)

  I tried to respond to the earlier "who's interested in C++ on
the Crays...send me mail" but my mail bounced. Although there are people
here at the Lab working on C++, I'd definitely like to see Cray
working on it. With complex, vector, matrix, ... classes, C++ could,
I believe, significantly enhance my (and others) programming productivity.
Further, super efficient class libraries could be designed by Cray 
that could make C++ programs competitive with programs written in
Fortran.