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

Investigate memory allocation/deallocation alternatives for wasmer #110

Open
ThetaSinner opened this issue May 17, 2024 · 0 comments
Open

Comments

@ThetaSinner
Copy link
Member

See #109 (comment)

Trying to use vectors for allocation and deallocation is risky because it depends on the internals of vector and how it chooses to do allocation. Is there an allocator we could use which hides some of these details? Or possibly just use layout/alloc/dealloc from the stdlib to more directly manage memory. Arrays allocated with alloc can still be wrapped in a slice or vector to be read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant