On Sun, Jan 29, 2012 at 09:24:48PM -0800, Walter Bright wrote: > On 1/29/2012 8:21 PM, H. S. Teoh wrote: > >On Sun, Jan 29, 2012 at 07:47:26PM -0800, Walter Bright wrote: > >>I've had people tell me this was an advantage because there are some > >>chips where chars, shorts, ints, and wchars are all 32 bits. Isn't it > >>awesome that the C standard supports that? > >Is there an actual, real, working C compiler that has char sized as > >anything but 8 bits?? This one thing alone would kill, oh, 99% of all C > >code? > > Yes. Those chips exist, and there are Standard C compilers for them. > But every bit of C code compiled for them has to be custom rewritten > for it.
Interesting. How would D fare in that kind of environment, I wonder? I suppose it shouldn't be a big deal, since you have to custom rewrite everything anyways -- just use int32 throughout. T -- Lawyer: (n.) An innocence-vending machine, the effectiveness of which depends on how much money is inserted.