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

Heap allocation #3

Open
RealKC opened this issue Apr 2, 2020 · 0 comments
Open

Heap allocation #3

RealKC opened this issue Apr 2, 2020 · 0 comments
Labels
enhancement New feature or request low priority Something that should be worked on but it can wait

Comments

@RealKC
Copy link
Owner

RealKC commented Apr 2, 2020

Currently reqvm programs cannot allocate programs on the heap. This should be rectified.

Models that I will likely add:

  • C-like manual memory allocation and deallocation
  • a GC (or more)

Design questions:

  • do we want manual memory allocation to be mutually exclusive with the GC?
  • should there be a way to force one model over the other anyway if the answer to the above is "no"?
  • how do we treat pointers?
  • should our instruction set be expanded to allow instructions to work directly on pointers?
@RealKC RealKC added enhancement New feature or request low priority Something that should be worked on but it can wait labels Apr 2, 2020
@RealKC RealKC modified the milestone: 0.3.0 Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Something that should be worked on but it can wait
Projects
None yet
Development

No branches or pull requests

1 participant