Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!cimshop!davidm From: cimshop!davidm@uunet.UU.NET (David S. Masterson) Newsgroups: comp.sys.amiga.programmer Subject: Re: OOP (was Re: Assembly Language & Programming) Message-ID: Date: 19 Apr 91 20:15:13 GMT References: <37046@ditka.Chicago.COM> Sender: davidm@cimshop.UUCP Distribution: comp Organization: Consilium Inc., Mountain View, California Lines: 35 In-reply-to: comeau@ditka.Chicago.COM's message of 18 Apr 91 15:25:05 GMT >>>>> On 18 Apr 91 15:25:05 GMT, comeau@ditka.Chicago.COM (Greg Comeau) said: Greg> In article Greg> nv89-nun@dront.nada.kth.se (Nicklas Ungman) writes: Nicklas> I also hope for better compilers in the future (many C++ compilers Nicklas> are actually pre-compilers) Greg> You imply translating compilers (not pre-compilers) != better compiler. Greg> The truth of the matter is that something like AT&T cfront, which Comeau Greg> C++, is based on, is the most robust C++ compiler technology around. Greg> And it's up-to-date too. I don't want to sound rude, but I don't see Greg> the merit in that analogy. If you meant that you want to see a nice C++ Greg> environment, then, yes, I drool for it myself, but I think that a Greg> different issue than what you mentioned. On that different issue, though, from what I've seen, there are generally two reasons that a C++ to object file compiler is preferred over a C++ to C compiler. I'd like your comments on the two: 1. Optimization. C compilers *may* not have the knowledge to optimize out some of the things a C++ compiler might leave lying around (outlined inlines?). This is one of the reasons for NewCode Technologies CBACK program. 2. Debugger support. Debugging translated C++ code is very difficult because of name mangling and (often) lack of C++ source (the debugger shows C code). -- ==================================================================== David Masterson Consilium, Inc. (415) 691-6311 640 Clyde Ct. uunet!cimshop!davidm Mtn. View, CA 94043 ==================================================================== "If someone thinks they know what I said, then I didn't say it!"