Austin Ziegler wrote:
> On 9/16/05, Josh Charles <josh.charles / gmail.com> wrote:
> 

[snip]

>>
>>My Point was that you still need to use C (a _strongly_ typed
>>language) at some point,
> 
> 
> C is anything *BUT* a strongly typed language. C is a very weakly typed
> language that use some static type analysis for some optimizations. 

"C is strongly-typed" is indeed a pernicious meme.

[Richter@GEN-WAYNE ~/src/c]$ cat weak_type.c
#include <stdio.h>

int main()
{

int i = 2000000000;
int j = 2000000000;
int k;

k = i * j;

printf( "%d * %d = %d\n", i, j, k );

}

[Richter@GEN-WAYNE ~/src/c]$ a.exe
2000000000 * 2000000000 = -1651507200

[rest snipped]

> -austin


-- 
Daryl

"We want great men who, when fortune frowns, will not be discouraged."
     -- Colonel Henry Knox, 1776