Article View: comp.sys.powerpc
Article #3126Re: Debate: PowerMac "trounces" Pentium....???
From: Nevin ":-]" Liber
Date: Mon, 12 Feb 1996 12:28
Date: Mon, 12 Feb 1996 12:28
20 lines
1646 bytes
1646 bytes
In article <9602092127.AA24456@ues5.cern.ch>, Dan Pop
<danpop@ues5.cern.ch> wrote:
> These are
> the typical programs developed by scientists and engineers and they're
> damn portable (if their authors are smart enough to avoid the language
> extensions provided by the compiler vendors).
And they manage to avoid all the problems with endianess, number of bits
in a char/short/int/long/float/double/pointer to all of the above,
structure packing, etc.? All of this w/o #ifdefs in the code and trying
it out on more than one architecture?? It's damn hard to write
non-trivial portable ANSI C.
If the code is this portable, it would be fairly easy to add a compiler
option to have calls to WaitNextEvent() automatically generated (some
versions of FORTRAN already do this), or a simple framework that calls
this code if you don't/can't mess with the compiler.
--
Nevin ":-)" Liber nevin@CS.Arizona.EDU (520) 293-2799
Technical Details
Message-ID:
<nevin-1202960529130001@150.135.1.79>Path:
arc1-ca.pugleaf.net!CS.Arizona.EDU!NewsWatcher!userReferences:
<nevin-0602962253080001@150.135.1.79> <4fdi45$gu7@eken.hv.se> <4fea7g$eio@nyx.cs.du.edu> <9602092127.AA24456@ues5.cern.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!CS.Arizona.EDU!NewsWatcher!user From: nevin@CS.Arizona.EDU (Nevin ":-]" Liber) Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel Subject: Re: Debate: PowerMac "trounces" Pentium....??? Date: Mon, 12 Feb 1996 05:28:33 -0700 Organization: University of Arizona CS Department, Tucson "It's too dang hot!" Arizona Message-ID: <nevin-1202960529130001@150.135.1.79> References: <nevin-0602962253080001@150.135.1.79> <4fdi45$gu7@eken.hv.se> <4fea7g$eio@nyx.cs.du.edu> <9602092127.AA24456@ues5.cern.ch> NNTP-Posting-Host: mac-nevin.cs.arizona.edu X-Newsreader: Yet Another NewsWatcher 2.2.0b4