Lies in education [was Re: The "loop and a half"]

Steve D'Aprano steve+python at pearwood.info
Thu Oct 12 19:22:56 EDT 2017


On Fri, 13 Oct 2017 02:06 am, Grant Edwards wrote:

> It sure was an education the first I wrote C code for
> a machine where
> 
> 1 == sizeof char == sizeof int == sizeof long == sizeof float == sizeof
> double
> 
> All were 32 bits.


Does that imply that on that machine 1 byte = 32 bits?

I don't suppose you remember the name of the machine do you?


> Writing protocol code that dealt with the outside world via a serial
> port was _painful_.



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list