Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mmoll
19 days ago
|
parent
|
context
|
favorite
| on:
C's Flexible Integer Sizes Were Not a Design Mista...
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.
lexicality
19 days ago
[–]
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
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: