News for hackers. Stuff that matters.
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.
Re:Intel Fights for Its Future by pjmlp on Monday March 12, 2018 @10:43AM (#16568424)
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.

http://en.cppreference.com/w/c/language/arithmetic_types

Re:Intel Fights for Its Future by jcadam on Monday March 12, 2018 @12:04PM (#16569040)
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 :)

Re:Intel Fights for Its Future by flamedoge on Monday March 12, 2018 @11:40AM (#16568857)
well there is. if you used <= "at least" sizes.