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 #4

Open
csjh opened this issue Oct 10, 2023 · 0 comments
Open

Heap #4

csjh opened this issue Oct 10, 2023 · 0 comments

Comments

@csjh
Copy link
Owner

csjh commented Oct 10, 2023

  • Add efficient malloc/free impl, based on Zig wasm allocator probably
    • maybe just do it based on heap variable keyword (implicit malloc call), harder to fuck up (but also maybe makes free slip your mind?)
  • Look into somewhat seamless struct conversion between allocation types (preferably just something like
gc some_struct hello;
heap some_struct hello;
stack some_struct hello;

?

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

No branches or pull requests

1 participant