I have a nim function that will be called from a C thread. I'm using mm:orc, and the docs say the the heap is shared in this case. Is it possible to create ref types and store them in nim-managed memory inside such a function? How does such a function interact with heap and GC?
- Shared heap and foreign thread interaction darkestpigeon