logoalt Hacker News

SAI_Peregrinusyesterday at 5:35 PM1 replyview on HN

How many bits are in an `int` in C? What do you mean "at least 16", that's ridiculous, nobody would write a language that leaves the number of bits in basic elementary types partially specified‽


Replies

bluGillyesterday at 6:24 PM

It is a good idea - most of the time you don't care, and on slower systems a large int is harmful since the system can't handle that much and it cost performance - go to the faster system with larger ints when you need larger intw.