Get the latest tech news

What's the difference between an integer and a pointer? (2018)


(This piece is an alternate introduction and advertisement for a soon-to-be-published research paper.) 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.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of difference

difference

Photo of Integer

Integer

Photo of pointer

pointer

Related news:

News photo

Public vs. private IP addresses: what's the difference?

News photo

Samsung vs. LG OLED TVs: What's the difference between them?

News photo

Discs vs. disks: What's the difference?