|What's the difference between an integer and a pointer?|
|By Thom Holwerda on 2018-09-24 19:10:32|
In an assembly language we typically don't have to worry very much about the distinction between pointers and integers. Some instructions happen to generate addresses whereas others behave arithmetically, but underneath there's a single data type: bitvectors. At the opposite end of the PL spectrum, a high-level language won't offer opportunities for pointer/integer confusion because the abstractions are completely firewalled off from each other. Also, of course, a high-level language may choose not to expose anything that resembles a pointer.
- LLVM 7.0.0 released - 2018-09-19
- On the road to pure Go X11 GUIs - 2018-09-07
- Learning BASIC like it's 1983 - 2018-09-03
- x86-64 assembly language programming with Ubuntu - 2018-08-31
- More related articles