|
|
Subscribe / Log in / New account

Pondering 2038 vis-a-vis 64-bit file offsets

Pondering 2038 vis-a-vis 64-bit file offsets

Posted Aug 19, 2013 21:00 UTC (Mon) by pr1268 (guest, #24648)
In reply to: Pondering 2038 vis-a-vis 64-bit file offsets by vomlehn
Parent article: Pondering 2038

long longs will wind up being exactly 64 bits wide and we will need to create another type for 128-bit integers.

So, let's create a [signed|unsigned] long long long type. (While we're at it, why not make a long long double?) Also, <inttypes.h> and <stdint.h> could be updated to include int128_t and friends.

I'm only being half-facetious here. Sure, it's more keystrokes, but programmers are free to use typedef if desired to make coding easier. I do just that.

Also, the existing ABIs and programming language specs don't change. Just a suggestion...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds