|
|
Nicolas Alvarez wrote:
> Darren New wrote:
>> The real killer for such a system is the number of people who *do* assume
>> 8-bit bytes. What happens when you have 10-bit characters and you call
>> write(14, "Zoop", 4)
>> and handle 14 is a TCP socket?
>
> Hell breaks loose?
I don't know. But that's the problem Ada solves by separating out "bytes of
memory" from "bytes of I/O". Of course, as Warp points out, for 99% of the
population not writing code for embedded processors in weapons systems,
those two types are always the same and it's annoying as hell to write any
I/O stuff in Ada. :-)
--
Darren New, San Diego CA, USA (PST)
Insanity is a small city on the western
border of the State of Mind.
Post a reply to this message
|
|