Re:The V Programming Language 0.4
by amedvednikov on Thursday August 31, 2023 @06:49AM
(#37335162)
> Which explicitly implies that objects are exclusively freed only by autofree and reference counting.
Yes, and what's wrong with that? That's how it works now too, except RC has been replaced by a tracing GC.
1) The first sentence clearly stated that:
Which explicitly implies that objects are exclusively freed only by autofree and reference counting.2) Your emphasis of "everything" seems to imply a contrast to Python or Go method of memory deallocation:
which would mean that Python, Go and Java trace everything, which isn't true. None of the three languages (Python, Go, or Java) use GC to trace everything - there are multiple optimizations (such as escape analysis and reference counting) that allow a certain percentage of objects to be freed by means other than tracing GC.