So @Kyrenite was showing me a cool new idea she had with GC in Rust and we had a pretty neat realization about this space
I'm curious why there are attempts to get GC in Rust. What are the use cases?
-
-
https://manishearth.github.io/blog/2015/09/01/designing-a-gc-in-rust/#motivation … hasn't really changed since then
-
basically: - some graphy datastructures are nicer with gc - if you're writing or working with a managed language runtime, you need to deal with gc'd objects
-
servo integrates with spidermonkey and has to throw around managed DOM objects Catherine is writing a Lua runtime.
-
there's not so much need for *pervasive* GC in rust, but having a Gc<T> type has a lot of use cases
-
Cool! Thanks for the overview. I've worked with GJS (Gnome spidermonkey bindings to Glib) before, so in that context I definitely understand how a GC'd type would have many use cases.
End of conversation
New conversation -
-
-
Rust is a good language host
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.