3 ms·
Vlang is younger than the other languages mentioned and just went into beta this year. It uses GC by default, but its optional (can be "turned off"). Can also
by Tozen 4y ago
Vlang is younger than the other languages mentioned and just went into beta this year.
It uses GC by default, but its optional (can be "turned off"). Can also manage memory manually. Autofree is to be another option, where the user doesn't have to know about memory management, but will have higher performance than GC. Which will be interesting. Because right now, Vlang with GC and tweaks by the developers, its performing quite well. As mentioned, for autofree, the compiler adds free() calls and the rest is handled by ARC/GC.
The goal, from comments by developers, is to have 3 memory management options. GC, autofree, and manual.