Skip to content

Rust's Memory model and its abstraction in KMIR #170

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

Closed
yanliu18 opened this issue Jul 3, 2023 · 0 comments
Closed

Rust's Memory model and its abstraction in KMIR #170

yanliu18 opened this issue Jul 3, 2023 · 0 comments
Labels
discussion anything like a suggestion, a question, a proposal

Comments

@yanliu18
Copy link
Contributor

yanliu18 commented Jul 3, 2023

It hasn't been brought up in our discussion yet, but we need to investigate this topic, how is memory managed in Rust and how should we abstract it in kmir.

Rustc implements Arena for its compile time memory management, e.g., memory allocation, locals, typing context, lifetime analysis etc..

Finding a proper way of implementing the arena in KMIR would probably solve multiple issues we have in our implementation so far. An approximated list of related issues:
#134
#87
#57
#55
#54

@yanliu18 yanliu18 added the discussion anything like a suggestion, a question, a proposal label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion anything like a suggestion, a question, a proposal
Projects
None yet
Development

No branches or pull requests

2 participants