Article View: comp.sys.powerpc
Article #3116Re: Debate: PowerMac "trounces" Pentium....???
From: Dan Pop
Date: Fri, 09 Feb 1996 21:27
Date: Fri, 09 Feb 1996 21:27
29 lines
2022 bytes
2022 bytes
kathomas@nyx.cs.du.edu (Karl Thomas) writes: >You mean all I would have to do is have a preemptive OS and my programs >would automatically be more portable? I guess that would also take care >of all of the other system specific function calls like Quickdraw, the >menu manager, etc. The only thing that is halfway portable is ANSI-C, >every OS has it's own API that isn't portable. A portable program >wouldn't be able to take advantage of all the OS specific features. Right. This is precisely what makes it portable. There are plenty of numerically intensive programs which don't need any OS specific features, because all they do is: read their input data from a file, crunch it ad nauseam, write the results to another file. 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). But even programs which do benefit from OS-specific features can be written semi-portably, by isolating all the system-specific code in one file, which has to be rewritten for each new port, while the rest of the code is left untouched. That is, unless the port is to MacOS and the portable part has to be stuffed with WaitNextEvent calls. Dan -- Dan Pop CERN, CN Division Email: danpop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Technical Details
Message-ID:
<9602092127.AA24456@ues5.cern.ch>Path:
arc1-ca.pugleaf.net!mail2news.demon.co.uk!ues5.cern.chReferences:
<nevin-0602962253080001@150.135.1.79> <4fdi45$gu7@eken.hv.se> <4fea7g$eio@nyx.cs.du.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!ues5.cern.ch From: Dan Pop <danpop@ues5.cern.ch> 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: Fri, 9 Feb 1996 22:27:03 +0100 Message-ID: <9602092127.AA24456@ues5.cern.ch> References: <nevin-0602962253080001@150.135.1.79> <4fdi45$gu7@eken.hv.se> <4fea7g$eio@nyx.cs.du.edu> X-NNTP-Posting-Host: ues5.cern.ch X-Newsreader: NN version 6.5.0 #7 (NOV) X-Mail2News-Path: mail1.cern.ch!ues5.cern.ch