🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #224

Re: Will Java kill C++?

#224
From: David James Hanley
Date: Sat, 13 Apr 1996 02:26
55 lines
3002 bytes
andrek koenig wrote:
: In article <31683229.446B9B3D@bbn.com> Joe Kraska <jkraska@bbn.com> writes:

: > ANSI-C libraries are much easier to handle than C++ 
: > libraries, for a whole host of reasons, not the least of which is
: > the stupid-dumb-fuck-mistake of not having a name-mangling standard
: > for C++.

: The thing about hurling expletives around like that
: is that it's so embarrassing when you're wrong -- as
: you are in this case.

	Or that he is correct, as he is in this case.

: Having a name-mangling standard would not solve any
: problems, because it would do nothing toward solving
: the binary compatibility problems that affect not
: only C++ but also C.

	Really?  I'll have to remember that next time I like a gnu C
compiled program with a sun c compiled program.  

: I have two mutually incompatible C compilers on my workstation.
: They generate names that look the same to the linker, but they
: put arguments and return results in different registers.

	That's too bad.  All of mine link ok.

: Getting a single binary library to work with both those
: C compilers is no easier than it is in C++.

	Wrong.  As evidence, we do this all the time in C,
but I've never seen it done in C++. 

:  In fact, I can
: plausibly argue that it would be easier if those two compilers
: used different conventions for linkage names -- that way I could
: tell when I was headed for a fall before trying to run the
: program.

	I see.  Running the program once during the development cycle would
be too much effort.

--
------------------------------------------------------------------------------
David Hanley,                 |______     Computer Science graduate student.  
dhanley@lac.eecs.uic.edu      |\ ___/__  Martial Artist. Biker. Chess Freak   
www_lac.eecs.uic.edu/~dhanley/| \\ /  / Libertarian.  Atheist.  Bisexual.     
My employer barely KNOWS me.  |  \/BI/ Aspiring novelist.Joyce Kafka Neitzchie
-----------------------------------\/-----------------------------------------
James Joyce had escaped from the normal constrictions of ego by pondering
deeply what it feels like to be a woman.  Albert Einstein had escaped from
the restrictions of ego by pondering deeply what it feels like to be
a photon.  Joyce approached art with the methodology of a scientist; 
Einstein approached science with the intuition of an artist.
Technical Details
Message-ID: <4kn3c4$1ggc@piglet.cc.uic.edu>
Path: arc1-ca.pugleaf.net!news.cc.uic.edu!icarus!dhanle2
References: <DpG1s1.GC9@research.att.com> <4k7akk$nsh@engnews2.Eng.Sun.COM> <31683229.446B9B3D@bbn.com> <DpJs8I.8tn@research.att.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.cc.uic.edu!icarus!dhanle2
From: dhanle2@icarus.cc.uic.edu (David James Hanley)
Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
Subject: Re: Will Java kill C++?
Followup-To: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
Date: 13 Apr 1996 02:26:12 GMT
Organization: University of Illinois at Chicago
Message-ID: <4kn3c4$1ggc@piglet.cc.uic.edu>
References: <DpG1s1.GC9@research.att.com> <4k7akk$nsh@engnews2.Eng.Sun.COM> <31683229.446B9B3D@bbn.com> <DpJs8I.8tn@research.att.com>
NNTP-Posting-Host: icarus.cc.uic.edu
X-Newsreader: TIN [version 1.2 PL2]