Unpopular opinion: i64, int64_t, Int64 and similar types should be named according to their actual meaning, Ring64.

Even better, all programming languages should have a Ring[N] type that provides unit, zero addition and multiplication over a domain of N-bit strings, with the compiler applying proper optimizations when available (and requested).

@Shamar except in C the result of signed overflow is undefined. So it's not a ring.
@Shamar and I also should mention that the vast majority of C programmers don't even know what a ring is.
Follow

@newt

This however is NOT a good objection: it takes 10 minutes to understand rings building on insight from primary school.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.