Implementing a JIT-compiler with Rust
dinfuehr.github.io
dinfuehr.github.io
(In fact I only know of one project that successfully made the transition from conservative to precise moving GC after many years of deployment: SpiderMonkey.)
Do you have more information on this? That sounds like very bad news for Go...
Are "moving GCs" mostly good for reducing fragmentation? I guess you'd get fewer annoying "holes" if you can compact memory, and better cache behaviour if live objects tend to be nearer to each other.
https://duckduckgo.com/?q=pcwalton+go+gc+site%3Aycombinator....
It also adds very little complexity to the compiler itself so it's a nice win.
Eh, without parent-pointers you can just use a Box<T> in the obvious way. For more elaborate graphs you'd use arena allocation. Maybe not something a beginner would realize, but it's not that hard
Well I had them. As soon as I realised it wasn't trivial I wanted to know how to do it and why it couldn't be trivial.
>Maybe not something a beginner would realize, but it's not that hard
It's OK to be bad at new things.