"The ANSI/ISO C standard specifies that C must support four signed and four unsigned integer data types: char, short, int, and long. There
are few requirements imposed by the ANSI standard on the sizes of these data types. According to the standard, int and short should be
at least 16 bits; and long should be at least as long as int, but not smaller than 32 bits."
"Traditionally, Kernighan and Ritchie (K&R) C assumes int is the most efficient or fastest integer data type on a machine. ANSI C, with its
integral promotion rule, continues this assumption. "
Mais bon, vu le nombre de programma en C existant actuellement, et sachant que le passage de int16 a int32 a été assez douloureux avec
un nombre de programme moindre, la tradition est elle vraiment a respecter ?
Et Normalement ce serait a l'ANSI de trancher sur la taille de type sur une architecture 64b mais vu leur vitesse de decision je pense qu'on peu attendre.
[^] # Re: Intel a choisi d'étendre X86 vers le 64 bits
Posté par chaostech . En réponse à la dépêche Intel a choisi d'étendre X86 vers le 64 bits. Évalué à 2.
"The ANSI/ISO C standard specifies that C must support four signed and four unsigned integer data types: char, short, int, and long. There
are few requirements imposed by the ANSI standard on the sizes of these data types. According to the standard, int and short should be
at least 16 bits; and long should be at least as long as int, but not smaller than 32 bits."
"Traditionally, Kernighan and Ritchie (K&R) C assumes int is the most efficient or fastest integer data type on a machine. ANSI C, with its
integral promotion rule, continues this assumption. "
Mais bon, vu le nombre de programma en C existant actuellement, et sachant que le passage de int16 a int32 a été assez douloureux avec
un nombre de programme moindre, la tradition est elle vraiment a respecter ?
Et Normalement ce serait a l'ANSI de trancher sur la taille de type sur une architecture 64b mais vu leur vitesse de decision je pense qu'on peu attendre.