|
|
|
|
|
by tom_mellior
3345 days ago
|
|
> you can't write a GC language interpreter in a GC language forever, eventually you need a non-GC language to actually implement the GC in Here's PyPy's GC, implemented in Python: https://github.com/tycho/pypy/tree/master/rpython/memory/gc (I haven't looked at it in detail.) Anyway, even if you absolutely had to use a non-GC language to implement a GC, that would not preclude writing 99% of the browser in a GC language and only the GC in something else. |
|
Also, why would implement GCs multiple times at different levels of abstraction in the stack, other than for something specific like PyPy which is specific like designing an interpreter to help test language features quickly?