C's Flexible Integer Sizes Were Not a Design Mistake

Word sizes, strange machines, and why <strong>int</strong> was never meant to mean 32 bits. C
75 points by ibobev 27 days ago pikuma.com 118 comments

Summary

The article discusses the history and rationale behind C’s flexible integer sizes, explaining how the language’s design accommodates various machine architectures. It challenges the common misconception that the size of an int in C is fixed at 32 bits, revealing deeper insights into the language’s evolution and functionality.

Comments (118 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open