Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define 'allocation' and 'memory address' #464

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

RalfJung
Copy link
Member

Fixes #213

### Memory Address
[memory address]: #memory-address

A *memory address* is an integer value that identifies where in the physical machine memory some data is stored.
Copy link

@mkroening mkroening Sep 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bare-metal programmers may confuse this with virtual/physical memory addresses from paging. These memory addresses from pointers would refer to virtual memory addresses.

Is the term physical machine already established in this context?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right, I meant "physical" in contrast to the Abstract Machine, but there's always more layers of abstractions further down the stack. I adjusted the wording, is it better now?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you! :)

@RalfJung
Copy link
Member Author

RalfJung commented Oct 4, 2023

No objections, one approval -- I'll land this, please file an issue or a PR if you disagree with anything. :)

@RalfJung RalfJung merged commit b195ad1 into rust-lang:master Oct 4, 2023
2 checks passed
@RalfJung RalfJung deleted the allocation branch October 4, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define "allocation"
3 participants