lent/sink is no longer a valid type for variables under the revised destructors 
scheme. And no, it won't help you with multi-threading either.

The simplest way to go is `--gc:boehm` and a global `TableRef`, assuming that 
read-only access is the only thing you want. The reason behind using 
`--gc:boehm` is that it uses a shared heap, so you can stop worrying about 
`allocShared`.

If you ever need read-write access, consider 
[sharedtables](https://nim-lang.github.io/Nim/sharedtables.html). You may 
ignore the warning about GC-ed keys if you use `--gc:boehm`.

Reply via email to