On 4/12/13 7:48 AM, Benjamin Striegel wrote:
Browsing the web today I found this short article on the Epoch
programming language:

https://code.google.com/p/epoch-language/wiki/GarbageCollectionScheme

I'm not a GC expert so I'm not sure if it has any applicability to Rust,
but perhaps someone will find it interesting.

It's using register spilling (a.k.a. the llvm.gcroot intrinsics). We considered this, but it would impose a significant cost on runtime performance over the conservative GC or a precise GC that allows roots to live in registers (e.g. OCaml, V8, SpiderMonkey, .NET, Java). I think that, before we consider precise-on-the-stack GC, we should fix this problem at the LLVM level.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to