On Friday, 4 June 2021 at 13:32:37 UTC, Ola Fosheim Grøstad wrote:
On Friday, 4 June 2021 at 12:44:07 UTC, Imperatorn wrote:
GC won't go away tho. What might happen is more flexibility. The GC-phobia is irrational.

The topic doesn't fit in this thread, but it isn't irrational.

You have to wait for all participating threads to be ready to collect, so it isn't only about collection speed. In essence you end up with some of the same issues as with cooperative multitasking.

And it is also obvious that collection speed will drop as your application grows and you start working with larger datasets.

So, you might initially think it is fine, but end up rewriting your codebase because it only worked well with the simple prototype you started with.

That's not a good strategy.

(but ok for batch programs)

You might be surprised, but it's actually not up to you what topic fits or not.

I said GC-phobia is irrational, I did not say any criticism of it is. Obviously GC is good for some things and not good at all for other things.

What *is* irrational is saying it has absolutely no place at all.

Reply via email to