You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I've seen, the project currently handles memory with Arcs, which will leak on cyclic references. Are there plans to use a real garbage collector?
The text was updated successfully, but these errors were encountered:
I have plans to use a proper garbage collector but I don't have any details about it figured out at the moment. Any plans for how to implement something like this is welcome.
I have designed a language based on Lua, and implemented it using Rust. I used the gc crate for garbage collection, and it works wonders. The value enum is particularly similar to your implementation, but replacing Arc with Gc, of course. Perhaps this can be an interesting implementation strategy for garbage collection in Hematita.
From what I've seen, the project currently handles memory with Arcs, which will leak on cyclic references. Are there plans to use a real garbage collector?
The text was updated successfully, but these errors were encountered: