DEV Community

Discussion on: V Programming Language

Collapse
 
delta456 profile image
Swastik Baranwal

Here's the memory model they are gonna follow aardappel.github.io/lobster/memory...

Collapse
 
idanarye profile image
Idan Arye

So basically is uses reference counting but runs aggressive lifetime analysis to convert as many strong references to weak ones, to reduce the number of actual RC updates, and if possible even put the value on the stack and avoid heap allocation altogether?

And the compiler will do all that in super blazing fast speed?

Thread Thread
 
delta456 profile image
Swastik Baranwal

Probably. I don't if this will slow down the compile speed because I am not the creator V lang.