Live data from Hacker News

V compile time memory management:Running the Ved-editor on 8MB file with 0 leaks

youtube.com

1–10 of 23 posts

Re: V compile time memory management:Running the Ved-editor on 8MB file with 0 leaks

#4
post #3

it's very impressive to know this is one person's work. i first heard of him via Volt app. and then he went on to create vlang which looks very good from what i've seen

Thanks!

I no longer work alone though, we have a large team, and I think only about 50% of code is written by me at this point.

Although the autofree engine this video is about is fully my work.

Re: V compile time memory management:Running the Ved-editor on 8MB file with 0 leaks

#6

So this is basically a go-like language which can be compiled into C (which would explain fast compilation small size)? Neat! I guess community and adoption will make it or break it

Yes, but it improves quite a lot on Go:

https://vlang.io/compare#go

Re: V compile time memory management:Running the Ved-editor on 8MB file with 0 leaks

#7
Very happy to see vlang make steady progress. Been following this language since it was initially posted on HN.

What is the trade off here with auto free ? Is it still possible to have memory leaks in some scenarios ?

What about concurrency or multi threaded situations ?

Re: V compile time memory management:Running the Ved-editor on 8MB file with 0 leaks

#8
post #7

Very happy to see vlang make steady progress. Been following this language since it was initially posted on HN. What is the trade off here with auto free ? Is it still possible to have memory leaks in some scenarios ? What about concurrency or multi threaded situations ?

Right now it's possible to have leaks due to bugs in the autofree engine. Once it's stable, there will be no leaks.

For mutable objects shared across threads, reference counting will be used.

Post reply on HN