6 ms·
We have decided. Don't store pointers to Go objects. https://github.com/golang/go/issues/8310 https://github.com/golang/go/issues/8310
by enneff 11y ago
We have decided. Don't store pointers to Go objects.
https://github.com/golang/go/issues/8310 https://github.com/golang/go/issues/8310
- amelius 11y agoI only see "Disabling comments until we post our new proposal. We are still working on the wording." I really hope the concerns that were raised on this issue-page are not simply ignored, and I hope that this new proposal allows for an efficient FFI interface.
- enneff 11y agoNo, they are not ignored. Comments were disabled because we are well aware of the problem space, so further discussion was not adding anything. The garbage collector has been rewritten for 1.5 and work continues on that front. Once the tree has stabilised (we're in the stabilisation period of our release cycle now) we will have a better idea how to resolve this issue.