3 ms·
> A lot of FOSS code has baked in assumptions about the max size of intmax_t Well, that code is not, and was not ever, standards compliant.
by teddyh 4y ago
> A lot of FOSS code has baked in assumptions about the max size of intmax_t
Well, that code is not, and was not ever, standards compliant.
- shadowgovt 4y agoAnd it turns out that doesn't matter much in terms of adoption and popularity. After all, if predictable behavior in the future across all possible configurations were a high priority requirement for the tools people use to make computers do things, neither C nor C++ would have gotten off the ground. Instead, people don't memorize the entire standard. They write code that works on their machine, publish it, fix the bugs when people say it doesn't work on their machine, and maybe converge towards something that is standards compliant but, more likely, they converge towards something that works on the standard implementation on 90% of the operating systems available.