Incremental garbage collection
rikki cattermole
rikki at cattermole.co.nz
Fri Jan 21 09:48:48 UTC 2022
On 21/01/2022 10:34 PM, Ola Fosheim Grøstad wrote:
>> It would be an interesting experiment to see if we added a -enablewb
>> flag and have it enable more GC options at runtime, if this allowed
>> some better fitting GC's.
>
> I think many programmers would shoot themselves in the the foot in @nogc
> code... You would need very good documentation and tutorials for that to
> be a reasonable option.
Yeah in practice this may require UDA's and all sorts to guarantee good
speeds. With very easy to ways to segfault.
Not necessarily something D as a whole wants to go in, hence opt-in
rather than opt-out.
More information about the Digitalmars-d
mailing list