Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 381 Bytes

NOTES.md

File metadata and controls

1 lines (1 loc) · 381 Bytes
  • Allocating C-structures in Go memory is fine as long as the garbage collector is either non-moving or at least stop-the-world type. Both of these conditions hold as of Go 1.2. As soon as Go objects start moving around while the C-call is in progress, the allocation strategy will have to be completely rethought. At this point it seems we'll be fine for foreseable future though.