by skitter · 3y ago · 0 comments
The thing with a tighter bound on the lifetime is that VM carrying a lifetime for itself is fundamentally flawed. A solution would be to remove said lifetime, and have all methods on VM that return lifetimed objects take said lifetime from the reference to the VM.
I am not sure I am going to try it though - it probably is a bit too much code to change for something that I consider "done" and I am not working on. :)