Hacker News new | ask | show | jobs
by amedvednikov 1518 days ago
no, we don't "merely use Boehm GC"
1 comments

What else do you use besides it?
autofree (compile time frees)

it's on the website and in the video I referenced here

But you said it's unfinished and hidden behind a flag. And it's been like that for several years.

I found this in the docs:

>Autofree is still WIP. Until it stabilises and becomes the default, please compile your long running processes with -gc boehm, which will use the Boehm-Demers-Weiser conservative garbage collector

gc is also behind the flag

so why do you pick one over the other?

the language is still at 0.2

Are you arguing it's fairer to say V's default is to ignore managing memory at all?
>so why do you pick one over the other?

Because the documentation recommends to use GC instead of auto-free which is "WIP".