home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!sisyphus.demon.co.uk
- From: Dave.Sparks@sisyphus.demon.co.uk
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: PPC compilers
- Date: Sat, 6 Jan 96 14:25:23 +0000 (GMT)
- Organization: to be supplied
- Message-ID: <19960106.4EE928.CF59@sisyphus.demon.co.uk>
- References: <john.hendrikx.40ka@grafix.xs4all.nl> <MQAQx*XOe@yaps.rhein.de> <4bqhnf$6g5@sunsystem5.informatik.tu-muenchen.de> <jasonb.820051107@cs.uwa.edu.au> <4c9i2l$h3i@sunsystem5.informatik.tu-muenchen.de> <4ck47h$g07@maureen.teleport.com>
- X-NNTP-Posting-Host: sisyphus.demon.co.uk
- In-reply-to: sschaem@teleport.com's message of 5 Jan 1996 21:12:17 GMT
- X-Attribution: DaveS
- Content-Length: 1278
- X-Lines: 27
- X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!sisyphus.demon.co.uk
-
- >>>>> "SS" == Stephan Schaem <sschaem@teleport.com> writes:
-
- SS> I cant see how people can write code without knowing what data or
- SS> type they manipulate...
-
- Real-world programmers do it all the time. If you ever want to
- join us, you'll have to learn to do it too. One of many examples
- is the ANSI C definition of the 'clock' function: the value
- returned is of type 'clock_t', which is defined in a
- system-dependent header file. SAS/C defines 'clock_t' to be an
- unsigned 32-bit value, but other implementations can (and do)
- define it to be signed or even 64-bit floating-point. Since the C
- arithmetic operations (add, subtract, multiply, divide) are
- overloaded (can be used on values of different types) the
- programmer doesn't need to know what 'clock_t' is defined to be.
- It isn't difficult to write ANSI C code which will compile and run
- on different architectures: what is difficult is to convert C
- which was written for one specific architecture, with no thought
- given to portability.
-
- Incidentally, your References: header was broken (truncated in the
- middle of a reference). You need to write yourself a new newsreader.
-
- --
- Dave.Sparks@sisyphus.demon.co.uk (Staffordshire, England)
-
- ... details are more implementation-dependant than defined.
-
-
-