Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the one hand, in today's world asking how many bits is in an int is exactly as answerable as "how long is a piece of rope"

On the other, the right answer is 16 or 32. It's not the correct answer, strictly speaking, but it is the right one.

 help



An 'int' is also 64 bits on some platforms.

It's the wrong question. How many bits is uint64 is a much better question, if we're at a place where that's relevant.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: