Hacker News
new
past
comments
ask
show
jobs
points
by
lexicality
13 hours ago
|
comments
by
mmoll
12 hours ago
|
[-]
I came here to say exactly that. There’s int_leastN_t for storage and int_fastN_t for computation. Stdint.h really gets a bad rap here.
reply
by
lexicality
12 hours ago
|
parent
|
[-]
fwiw depending on use cases you might actually want to be using the fast variants for storage too, for example on arm64 you'll get aligned memory loads
reply