Re:The V Programming Language
by vlang1dot0 on Tuesday September 15, 2020 @03:44PM
(#24485877)
> regarding lobster memory management:
> the scope of anonymous functions cannot outlive variables' scope they reference, however V plans full closure support
> lobster compiles whole codebase at once (so it can properly track data flow across module boundaries), however V plans incremental compilation support
> both points are direct consequence of lobster's choice for memory management, ie solving them would mean moving away from lobster's strategy as far as I undersand
https://github.com/vlang/v/issues/1247
Lobster's approach at least has some theoretical rigorousness to it. What V is doing is quite different both in terms of the implementation and the requirements from the language itself and they have never been shown how their version is sound.
The "only" thing missing for now is "no leaks", but we are working on it.
You may be interested in https://aardappel.github.io/lobster/memory_management.html .