4 ms·
What do you mean by baseless? I strongly suggest to avoid such papers (unless they are recent and cover the impact of GC strategy as a whole vs how it is implem
by neonsunset 2y ago
What do you mean by baseless? I strongly suggest to avoid such papers (unless they are recent and cover the impact of GC strategy as a whole vs how it is implemented) as they are likely to be worse than misleading, because in the area of memory management, a lot of performance lives and dies by implementation details.
I tend to treat negatively such academic works because they become outdated fast, and are hard to draw conclusions from.
Allocation in competent GC is explicitly cheaper (it's a 1-2 dereferences, and a pointer bump if allocation context/quantum/pool can satisfy the allocation without asking for more memory for the GC itself or without performing collection), you pay the cost later with mark and sweep, and pause time, but most of all, non-deterministic nature of "batch deallocation" of such kind.
- James_K 2y ago> What do you mean by baseless? They say "garbage collection is slow" and when I ask how they know, they have no response. > they are likely to be worse than misleading > they become outdated fast, and are hard to draw conclusions from. Out of interest, how many papers have you read and how have you come to these conclusions? What empirical evidence to you have for these claims? I don't dispute that there is a general lack of research around this area, but that hardly justifies discarding the scientific method. Given that many of them implement techniques which can simply be re-run as new runtimes are released, why do we not do this? With proper CI, you could easily keep this information as up-to-date as necessary. > Allocation in competent GC is explicitly cheaper I am well aware. When I say "allocation", I refer to the entire lifetime of an object. As in both its allocation, residence in memory, and cleanup. Did you read the paper I cited? It provides a strong case that this "lifetime-cost" of an object can be quantified and measured.
- neonsunset 2y ago> Did you read the paper I cited? It provides a strong case that this "lifetime-cost" of an object can be quantified and measured. I will read it in full, thanks.