Can we not have one integer type in c that can grow like in js as required and become bigint if too big?
We don't need arbitrary-sized integers; we need exceptions on overflow (or underflow, but I'll stick to overflow for the rest of this post) to be the default, or similar language features as appropriate. I for one am tired of the chicken & egg issue of "CPUs don't support efficient overflow checking because nobody uses it, so it's slow" and "Overflow checking is slow because the CPU doesn't support it, so nobody uses…
Would it be possible to just silently replace with arbitrary sized integer and not break any code like safeintadd?