Re:Intel Fights for Its Future
by flamedoge on Monday March 12, 2018 @09:48AM
(#16568092)
a lot of compiler works to enable.. C spec mandates fixed width numerics afaik.. try imagining 64bit division using 32bit.
[ Parent
| on HN ]
I don't need to imagine it, I started programming on Z80.
EDIT: Forgot to mention that C spec only specifies "at least X" sizes, there is no portability guarantee if the types from stdint.h aren't used.
Reminds me of the time I had to program a Z80-based controller board. It came with a non-standard C Compiler where integers were 16-bits long. Of course, I didn't realize this at first (I suppose I could have read the documentation, but...), so I had to figure it out for myself while debugging :)
It was my first time programming C on something that wasn't a 32 bit CPU :)