Thank you for the hint!

So, if I got it correctly, since it is "impossible" to copy the whole resource 
around (you can't just copy a virtual machine!), a right strategy would be to 
use internal reference counting as an unowned ref type (as described in 
[https://nim-lang.org/docs/destructors.html#owned-refs](https://nim-lang.org/docs/destructors.html#owned-refs)
 ) ?

Or is this something like this supported already in nim?

Reply via email to