atum
atum copied to clipboard
Memory Management
Atum retains all objects used during evaluation, even if these objects are no longer reachable in the hosted language as they remain reachable in the host. Unreachable hosted objects should be reclaimed in a functional way.
Two potential solutions:
- Harness the host language's garbage collection. Javascript makes this hard by not having a weak reference type and some implementations may violate the project's functional goals.
- Write a garbage collector for the hosted language.