2025-11-30 04:35 UTC
@dr2chase dumb question: what does goo do to prevent reentrantcy problems in the GC implementation? Are all safe points in the GC implementation just disabled by the compiler? Is there some sort of flag to make a function non interruptible?
Replies (1)
-
@dr2chase@ohai.social 2025-11-30 05:01
@agocke@hachyderm.io short answer is, it’s complicated and the GC is carefully written. The’s a function annotation to indicate “no safe points please” and another for “if the code generates a write barrier, that is an error”.