(no title)
aleksi | 5 months ago
While Go allows interior pointers, I don't think what you say is true. runtime.KeepAlive was added exactly to prevent GC from collecting the struct when only a field pointer is stored. Take a look at this blog post, for example: https://victoriametrics.com/blog/go-runtime-finalizer-keepal...
johncolanduoni|5 months ago
aleksi|5 months ago
unknown|5 months ago
[deleted]