|
|
|
|
|
by kgeist
1518 days ago
|
|
As I said, I may be wrong. I think I will try V some day to see it for myself (maybe I'll write an article about my findings). As you are the author of the language, can you comment on what is the state of the auto-free system? How is memory management implemented? |
|
You don't need an article to clone the repo, build the language in <1s and play with it.
Autofree works:
https://www.youtube.com/watch?v=gmB8ea8uLsM
But it's not finished yet. We saw a better performance with a GC (due to all the extra copying autofree has to do), and made it the default.
I've always been anti-GC, but V is so minimal and doesn't result in many allocations in the first place, GC works really well with it.
In the end the user will have full control over how they want to do memory management: manual, autofree, gc.