128
since 4 years, 8 months ago
1 of 1
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


The GC is tied pretty much to the runtime implementation and is strongly constrained by that. For example the current elisp runtime has conservative stack scanning and does not have write barriers. In particular the barriers are needed to allow a more sophisticated GC algorithm. If your runtime is written with an abstract GC interface in mind, where you can register roots, inform the GC of writes, give the GC some access to the stack roots, then you can easily exchange different GC implementations. Unfortunately this is not the case with the grown runtime of Emacs.