POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
15 Nov 2024 04:21:41 EST (-0500)
  Re: Adventures with digital painting  
From: Nicolas Alvarez
Date: 10 Mar 2008 08:40:35
Message: <47d53a53$1@news.povray.org>

> Warp wrote:
>>   Autoconf also exists because computer architectures are different.
>> For instance, some architectures may be little-endian while others are
>> big-endian. Some architectures may be 32-bit while others are 64-bit.
> 
> Shouldn't the compiler be dealing with those issues?

No. If the compiler "dealt" with little endian and big endian, by making 
the C code always see one or the other, it would make the other 
architecture much slower.

Also, the C standard only mentions minimum sizes for data types. A 
compliant C implementation may have 64-bit bytes if it wants to.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.