🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #262

Re: Will Java kill C++?

#262
From: Larry Baker
Date: Mon, 15 Apr 1996 23:32
34 lines
1994 bytes
Andrew Koenig <ark@research.att.com> wrote:
> > why aren't you agitating for a name-mangling standard in C?
> > Name mangling is a potential problem there too.

To which Peter van der Linden replied:
> Name-mangling in C++ was a grotesque hack (like having the compiler
> implemented as a C-preprocessor).  It provided a compiler 4 months sooner,
> and set the language back five years.

If you're going to flame implementations that hacked their way
through pernicious problems, you might well point out the problem
they hacked their way through: the linkers under UNIX (and most
everywhere else) were (and are) too feeble to handle typesafe
linkage.

I'd tend to say that the C++ language designers did us all a favor
by going ahead with language features that stressed the environment,
rather than one that subjugated its goals to the limitations of
the (external) tools at hand.

Rather than grotesque, I'd tend to describe the CFRONT name-
mangling 'hack' as an elegant, though complex, solution to a
difficult problem.

> Let's try and face up to the deficiencies of C++.

In this case, don't you mean CFRONT's use of UNIX (et al) linkers?

How would you have maintained C-style linkage and C++ typesafe
linkage in the same object module without changing the linker?

Cheers,

Larry Baker
Technical Details
Message-ID: <3172DC7C.6B3F@sdt.com>
Path: arc1-ca.pugleaf.net!aadt.sdt.com!usenet
References: <4kn3c4$1ggc@piglet.cc.uic.edu> <Dpt0FD.Et4@research.att.com> <4ks0c8$jte@piglet.cc.uic.edu> <DpvsE5.2HC@research.att.com> <4ksfdr$bhh@engnews2.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!aadt.sdt.com!usenet
From: Larry Baker <leb@sdt.com>
Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
Subject: Re: Will Java kill C++?
Date: Mon, 15 Apr 1996 16:32:12 -0700
Organization: SABRE Decision Technologies
Message-ID: <3172DC7C.6B3F@sdt.com>
References: <4kn3c4$1ggc@piglet.cc.uic.edu> <Dpt0FD.Et4@research.att.com> <4ks0c8$jte@piglet.cc.uic.edu> <DpvsE5.2HC@research.att.com> <4ksfdr$bhh@engnews2.Eng.Sun.COM>
NNTP-Posting-Host: parmail.sdt.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win16; I)
To: Peter van der Linden <linden@positive.Sun.COM>