> Looking at the generated C code it's plainly obvious to see this memory leak. init_consts creates a 1000 byte allocation and never frees it. This is a memory leak that is unavoidable in any program compiled with V.
But the allocated memory is a static allocation. There isn't really a reason to free it. It's used whenever tos2 is called, which happens in many places according to the code. If you complain that this is a memory leak, then you should complain that any static allocation is a memory leak.
V also really can't support custom allocators effectively, much less a hierarchy of memory arenas. To do almost anything, you need a global heap allocator, because the compiler inserts invisible malloc() calls.
That said, I love the language's control flow. It's expression oriented and has a flow-sensitive type system with a very terse syntax.
Did all of that settle down?
[1] https://old.reddit.com/r/ProgrammingLanguages/comments/ozd3m...
So could someone as objectively as possible say why V is still bad/vaporware or even what progress it has made and what is still lacking?