delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/03/12:16:03

Sender: "Rolf Campbell" <moscoop AT nortelnetworks DOT com>
Message-ID: <38BFE6B7.A9D31ED8@americasm01.nt.com>
Date: Fri, 03 Mar 2000 11:22:15 -0500
From: "Rolf Campbell" <moscoop AT nortelnetworks DOT com>
Organization: Nortel Networks
X-Mailer: Mozilla 4.72 [en] (X11; I; HP-UX B.10.20 9000/785)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: C++, what is it (Was: Re: Fastest bitblt?)
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10003031823500 DOT 948-100000 AT darkstar DOT grendel DOT net>
Reply-To: djgpp AT delorie DOT com

Kalum Somaratna aka Grendel wrote:

> Damian Yerrick wrote

> > C++ can do operator overloading, which converts farpokel() into
> > an array access.

farpoke* does not use operator overloading and will be optimized just as well
in C as in C++.
Although you could make a 'FarArray' class which changed array accessing into
'farpoke*' calls.

> What about the poor guys (a lot of people BTW, just see how much of the
> source out there is C) who program in C.
>
> BTW I love C++ but sometimes I get the feeling when I read statements like
> the above that it is more a toolkit which you can use to "patch up"
> various problematic designs (BTW I'm _not_ referring to DJGPP) rather than
> a programming language.

What do you mean by a toolkit for patching designs?

--
(\/) Rolf Campbell (\/)



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019