Comment by amedvednikov
2 years ago
You pointed to an old version of the documentation. RC was changed to tracing GC. Things can change in the design.
V never promised autofree without GC or RC.
2 years ago
You pointed to an old version of the documentation. RC was changed to tracing GC. Things can change in the design.
V never promised autofree without GC or RC.
> You pointed to an old version of the documentation
Yes, because that version of documentation specified a feature that was impossible, which is exactly what we're discussing.
> V never promised autofree without GC or RC
First of all, I never mentioned "autofree without RC". I am strictly speaking about "autofree without GC".
Second of all, V documentation has had the "autofree frees 90% of objects, RC frees everything else" segment, which clearly implies no GC. So the documentation has clearly specified that feature, which was an impossible feature.
Even the next paragraph says:
So yeah, V promised autofree without GC.
And again, everything written is correct.
No heavy GC tracing everything or expensive RC for each object.
What's your issue with the wording?
> What's your issue with the wording?
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.
1 reply →
V is not a finished product nor 1.0 yet. It's unproductive to act like things were carved in stone, from day 1. Programming languages go through development phases, where things do change and lead developers are allowed to make changes.
I completely agree.
But gaslighting people and pretending that overly grandiose claims/promises haven't been made in the past leaves a bitter taste, and doesn't inspire trust in core developers. Instead, it makes me think that the core devs are incapable of admitting a mistake - which would make their language a hazard.
For example, what if V gets huge and a serious security bug gets discovered - how can I trust that the developers will properly communicate the existence of such a bug and not just keep quiet about it, consider how they aren't even willing to admit that V has made some impossible claims/promises in the past? If I discover a bug, will they also pretend that the bug doesn't exist, even when confronted with indisputable evidence, because it threatens to damage their reputation?
As long as that attitude doesn't change, I'm not touching V with a 10 foot pole.
3 replies →