From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 2 May 2007 08:33:19 +0000 From: "Douglas A. Gwyn" Message-ID: References: , <817ee90e37ad2a8ace10b9e70ee57161@coraid.com> Subject: Re: [9fans] speaking of kenc Topicbox-Message-UUID: 552ae240-ead2-11e9-9d60-3106f5b1d025 "erik quanstrom" wrote... > this is different from how c has traditionally done types. > c types mapped to what the hardware provides. unless > you're working on a hc6508 or similar, you probablly don't > have bit-wide memory access. > [bool]'s more in the spirit of oberon, or pascal which have > had more formally defined and machine independent > types. C has a long tradition of not mapping precisely into the native types, not even on the PDP-11, where "long" was word-swapped from the native format. bool can easily be implemented in one of the native integer types. Its properties are appropriate for its use.