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

Switch to Garbage Collection #4

Open
ecton opened this issue Feb 13, 2024 · 0 comments
Open

Switch to Garbage Collection #4

ecton opened this issue Feb 13, 2024 · 0 comments

Comments

@ecton
Copy link
Member

ecton commented Feb 13, 2024

In thinking of how to make Muse truly safe from malicious code, reference cycles will always be a problem for causing memory leaks.

The only real solution is going to be to adopt a garbage collector. There are some great crates out there, but sadly many are very opinionated about what is and isn't supportable or safe.

We either need a mechanism for concurrent garbage collection or we will need an easy way to convert values from one garbage collector to another to allow passing values between different Vms.

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