From 4162399909624062860
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,9a6b7da9ba54eaea
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1993-07-08 07:56:19 PST
Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!ogicse!netnews.nwnet.net!news.u.washington.edu!hardy.u.washington.edu!rons
From: rons@hardy.u.washington.edu (Ronald Schoenberg)
Newsgroups: comp.std.c++
Subject: Re: C++ Language Extensions
Message-ID: <21hc1v$ati@news.u.washington.edu>
Date: 8 Jul 93 14:47:27 GMT
Article-I.D.: news.21hc1v$ati
References: <SCHOUTEN.93Jul7125407@sp95.csrd.uiuc.edu> <21flho$mg@news.u.washington.edu> <rfgC9uAoB.L4D@netcom.com>
Organization: University of Washington, Seattle
Lines: 37
NNTP-Posting-Host: hardy.u.washington.edu

In article <rfgC9uAoB.L4D@netcom.com> rfg@netcom.com (Ronald F. Guilmette) writes:

>I think you're way off base.  What *exactly* have you got against C?  Have
>you ever tried it?  More to the point, have you ever tried using a C
>implementation which supported the full range of features recently codified
>as a set of industry recomendations by the Numerical C Extensions Group?
>
>(Actually, I already know the answer to that last question.  No vendors have
>fully implemented the NCEG recomendations yet, so you *can't* possibly have
>tried such an implementation yet, as such compilers do not yet exist.)
>
[......]
>
>-- Ronald F. Guilmette ------------------------------------------------------
>------ domain address: rfg@netcom.com ---------------------------------------
>------ uucp address: ...!uunet!netcom.com!rfg -------------------------------

For the issue is productivity.  I use the M++ array classes and I can
get about 10 lines of code in C++ do what would take hundreds of lines
of code in C.  I don't have to allocate any memory or mess with
pointers.  Or write endless numbers of loops cycling through data
arrays because I have overloaded operators that sift through the
largest data sets with a single expression.  I used to write in
Fortran, and I would estimate that my productivity has gone up
somewhere between five and ten times by moving to C++.  I don't think
that would happen in C.  I have on occasion worked in C, just as I am
occasionally forced to work in Fortran (i.e., when I'm working with
existing code), and the longer I'm in it the more dramatic becomes my
desire to get back to my array classes.
  I also do a lot of work using the Zortech compliler (the 3.0
version) which does incorporate the NCEG extensions.  The M++ classes also
incorporate the extensions.  You are correct about them - I think they
are necessary for good numerics programming.  However, it appears you
are incorrect about there being no C or C++ that has them. 
-- 
Ronald Schoenberg                    fax: 206-727-6521
University of Washington           email: rons@u.washington.edu


