www. O S N E W S .com
News Features Interviews
BlogContact Editorials

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.

3  Comments - Printer friendly - Related stories
Recent related stories
- A minimal C64 Datasette program loader - 2018-10-04
- 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
 

Tell a friend
Your full name:
Your email address:
Your friend's email:
Anti-spam measure:
5+2=

News Features Interviews
BlogContact Editorials


WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?