On Wed, Sep 12, 2012 at 7:59 PM, Benjamin Striegel <[email protected]>wrote:
> > Does adding fake machine insns to the automatic root inference scheme > yield support for moving collectors? > > Not sure about your other questions, but this document answers your > questions in regards to moving GCs: > > https://github.com/elliottslaughter/rust-gc-notes > > "The disadvantage was that this would limit what GC algorithms we could > make use of. Specifically, LLVM would be free to make copies of pointers > and put them anywhere, so we wouldn't necessarily know about all copies of > given pointer. So we wouldn't be able to implement any moving GC algorithms > with this approach, leaving primarily mark-and-sweep GC algorithms on the > table." > I saw that paragraph, but it seemed to be talking about automatic root inference alone (without the extra fake machine instructions, which were introduced two paragraphs later). My question was precisely whether the addition of fake machine instructions fixes that shortcoming, or not.
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
