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

GC.@preserve is not reliable enough to actually rely on #104

Closed
chriselrod opened this issue Sep 3, 2022 · 0 comments
Closed

GC.@preserve is not reliable enough to actually rely on #104

chriselrod opened this issue Sep 3, 2022 · 0 comments

Comments

@chriselrod
Copy link
Contributor

chriselrod commented Sep 3, 2022

This causes regular segfaults for certain use cases that can be avoided by instead referencing a global buffer.

I think we should take a different approach to memory management, relying on global consts that are safe from the GC.

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