News for hackers. Stuff that matters.
Re:Garbage collected smart pointers in Rust via concurrent c... by zozbot234 on Friday December 13, 2024 @02:15PM (#42411426)
"Types lasting for the lifetime of the program" is accounted for by 'static lifetime. I am referring to the use of _static_ and _static mut_ declarations in the code, which is not quite the same thing. The interesting question is whether it might be possible to have multiple "collection" threads within a single instance of the program, each working on independent graphs.
Re:Garbage collected smart pointers in Rust via concurrent c... by maplant on Friday December 13, 2024 @02:17PM (#42411443)
Sorry, I misread your question. I’m sure it’s possible but this seemed like a good enough implementation for what I needed.