|
|
|
|
|
by adrianratnapala
2611 days ago
|
|
> ... you end up with some problems because you can only free it with the correct context active, ... I wonder if this is where Rust can actually help. I.e. could the lifetime tracking in the language allow you to construct a library where the unref was guaranteed to happen only when the right context is active? And if such a library could be constructed, what would the loss of flexibility cost? |
|