🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21090

Re: How REALLY portable is C++?

#21090
From: Murray Williams
Date: Fri, 29 Aug 1997 00:00
63 lines
3311 bytes
I recently managed an application development project which chose the
GCC c++ (g++) compiler for implementation because of the promise of
massive portability to all platforms, Unix, NT, OS/2, etc.

I'm not a great C++ programmer, but the programmer I managed expressed
massive frustration over the g++ compiler because of a large number of
problems, including the use of templates (we had to make the template
use minimal and only when absolutely necessary) and the exception
handling system (which only worked if you turned off all optimizations
in the compiler).

If memory serves me, a lot of this stuff is supposed to be fixed in the
2.8 version of gcc, but I've never seen any evidence that 2.8 will ever
be finished.  (I've been waiting for two years.)

There *is* a commercial version of c++ (I can't remember the vendor, but
if you need it, e-mail my friend Dave at beach@cs.colostate.edu and ask)
which is supposed to tie-in to the gcc c compiler (thus offering that
beautiful cross-platform support) and provide a decent solution.  We
haven't tried the product yet so I can't vouch for its success.

Best of luck!

Murray Todd Williams




Igor Chudov @ home wrote:
> 
> Hello,
> 
> I am planning to write a library and a set of tools, based on that
> library, for advanced processing of mail and news messages. I intend the
> library to be portable across many platforms, including major Unix(tm)
> systems, various versions of Widows, and possibly Macintosh computers.
> 
> This library is not going to use a lot of OS-specific features, but is
> going to be relatively big in terms of code and the number of concepts
> implemented.
> 
> It is a requirement that the library has an external C interface, because
> I would like to enable existing C programs to use it. (It is still possible
> to have C++ classes INSIDE the library).
> 
> It is also a requirement that it should be easy to compile on the
> above platforms by multiple existing and widely available tools.
> 
> My personal preference would be to go with C++ for the implementation,
> because of lower complexity of C++ development, compared to C development.
> 
> The questions are:
... etc.


       The contents of this message express only the sender's opinion.
       This message does not necessarily reflect the policy or views of
       my employer, Merck & Co., Inc.  All responsibility for the statements
       made in this Usenet posting resides solely and completely with the
       sender.

Technical Details
Message-ID: <5u6m45$gut$1@merck.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.object.mbox.zip!not-for-mail
References: <199708290453.XAA15800@manifold.algebra.com>

Show Full Headers
Complete Article Headers
Message-ID: <5u6m45$gut$1@merck.com>
Subject: Re: How REALLY portable is C++?
Date: Fri, 29 Aug 1997 00:00:00 +0000
From: Murray Williams <" williamu"@merck.com>
References: <199708290453.XAA15800@manifold.algebra.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.object.mbox.zip!not-for-mail
X-Deja-AN: 268926750
Organization: Merck & Co., Inc.
Newsgroups: comp.lang.c++,comp.lang.c,comp.object,news.software.nntp,alt.2600,comp.os.linux.development,alt.genius.bill-palmer