Article View: comp.lang.modula2
Article #2505Re: Modula-2, Modula-3, C or C++
From: Steve Freeman
Date: Sat, 16 Sep 1995 12:11
Date: Sat, 16 Sep 1995 12:11
40 lines
2262 bytes
2262 bytes
In article <439nh4$1tf@dewey.csun.edu> hbcsc245@huey.csun.edu (Stead) writes:
> From: hbcsc245@huey.csun.edu (Stead)
> Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++
> Followup-To: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++
> Date: 14 Sep 1995 17:07:48 GMT
> Organization: California State University, Northridge
> Personally I'm still a big fan of C/C++, mainly for its portability- I
> can get the same source code to compile on a PC, Mac, or even the school's
> mainframe under Unix.
I think you mean it's wide availability, rather than portability. If
you can get your code to compile on such a range of machines, it's
because you're not making heavy use of the "newer" features such as
exceptions and templates (or you've chosen your compilers
carefully). In addition, if you have any statically initialised
variables in a program module, you presumably have no dependencies on
module ininitialisation order, etc, etc.
Ellis & Stroustrup claim that there are about thirty implementation
dependencies in C++ (ARM (1994), section 2.1c). In M3, for example,
implementation dependencies are marked as unsafe and so easy to trace.
steve
--
- - - - - - - - - - - - - - - - - - - - - - - - - -
Dr. Steve Freeman, Research Scientist, Rank Xerox France.
Surface: Rank Xerox Research Centre,
6, chemin de Maupertuis, 38240 Meylan, France.
Internet: steve.freeman@xerox.fr
Phone: +33 76 61 50 21
Fax: +33 76 61 50 99
but wotthehel wotthehel
toujours gai
-- mehitabel the cat
Technical Details
Message-ID:
<FREEMAN.95Sep16141149@goelon.coolidge.grenoble.xerox.fr>Path:
arc1-ca.pugleaf.net!pinea.xerox.fr!newsReferences:
<438nkr$bd@classic.eng.octel.com> <439nh4$1tf@dewey.csun.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++ Path: arc1-ca.pugleaf.net!pinea.xerox.fr!news From: freeman@goelon.coolidge.grenoble.xerox.fr (Steve Freeman) Subject: Re: Modula-2, Modula-3, C or C++ In-Reply-To: hbcsc245@huey.csun.edu's message of 14 Sep 1995 17:07:48 GMT Message-ID: <FREEMAN.95Sep16141149@goelon.coolidge.grenoble.xerox.fr> Followup-To: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++ Sender: news@xerox.fr Nntp-Posting-Host: pinea.xerox.fr Reply-To: freeman@xerox.fr Organization: Rank Xerox Research Centre References: <438nkr$bd@classic.eng.octel.com> <439nh4$1tf@dewey.csun.edu> Date: Sat, 16 Sep 1995 12:11:49 GMT