Tag
A blog post exploring the distinction between integers and pointers in systems languages like C, C++, and Rust, illustrating how compilers exploit pointer provenance assumptions and introducing it as an alternate introduction to an OOPSLA research paper.
The article explains the confusing behavior of C array types, including their decay to pointers, exceptions like sizeof and function parameters, and compares it to function types, suggesting a mental model where arrays and pointers are strictly separated.