Date: Sun, 1 Aug 1999 11:38:04 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Bas Hamstra cc: djgpp AT delorie DOT com Subject: Re: is djgpp object-oriented? In-Reply-To: <7ntjli$lmj$1@reader1.wxs.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 31 Jul 1999, Bas Hamstra wrote: > >Both are extremely useful: for example, UNIX is written in C, and ... (I > >was going to be fair and impartial here, but I couldn't think of > >anything popular that's written in C++). > > Wait a minute :) Speed and efficiency are extremely important for chess > programs. Yet... One of the *fastest* chess program is written in pure C++ > (Junior). AFAIK, Junior doesn't use any of the STL features, and is written very carefully to avoid anything in C++ that will produce inefficient code. People who write C++ usually don't want to restrain themselves like that. FWIW, Groff, the GNU replacement fro the Troff/Nroff package, is also written in C++, and it also carefully avoids any expensive C++ features. > You don't *have* to create and destroy all over. You can't even dereference a pointer in C++ without being sure it wasn't overloaded by some class that is called deep inside the libraries you are using.