Re: The illusion of "portability"
- From: jacob navia <jacob@xxxxxxxxxxxxxxxx>
- Date: Tue, 01 Aug 2006 00:30:38 +0200
Chris F.A. Johnson a écrit :
Note that there is objectively speaking not a single useful
program in C that can be ported to all machines that run the
language.
That's strange. I have programs that I first wrote 20 years ago on
the Amiga, that I have compiled and run successfully, without any
changes, on MS-DOS, SunOS 4, FreeBSD, NetBSD, BSDi, and GNU/Linux.
I expect they would compile and execute successfully on any
standard C implementation.
The Amiga system is not an embedded system, and it is many ways very
similar to other command line environments.
I am not telling you that portable programs do not exists or that
it is not worthwhile trying to attain some degree of independence
from the underlying system. I am telling you that (as everything)
portability has some associated COST!
.
- Follow-Ups:
- Re: The illusion of "portability"
- From: J. J. Farrell
- Re: The illusion of "portability"
- From: Keith Thompson
- Re: The illusion of "portability"
- References:
- The illusion of "portability"
- From: jacob navia
- Re: The illusion of "portability"
- From: Chris F.A. Johnson
- The illusion of "portability"
- Prev by Date: Re: pointer to *this
- Next by Date: Re: Checking return values for errors, a matter of style?
- Previous by thread: Re: The illusion of "portability"
- Next by thread: Re: The illusion of "portability"
- Index(es):
Relevant Pages
|