On Friday, 15 January 2021 at 15:50:59 UTC, Guillaume Piolat
wrote:
On Friday, 15 January 2021 at 11:11:14 UTC, Mike Parker wrote:
That's the whole point of being able to mix and match. Anyone
avoiding the GC completely is missing it (unless they really,
really, must be GC-less).
+1
mix and match is a different style versus only having a GC, or
only having lifetimes for everything. And it's quite awesome as
a style, since half of things don't need a well-identified
owner.
What do you mean by "mix and match"? If it means shutting down
the GC after initialization then it can easily backfire for more
complicated software that accidentally calls code that relies on
the GC.
Until someone can describe a strategy that works for a full
application, e.g. an animation-editor or something like that, it
is really difficult to understand what is meant by it.