btdu - a sampling disk usage profiler for btrfs (written in D)

Ola Fosheim Grostad ola.fosheim.grostad at
Fri Nov 27 10:26:18 UTC 2020

On Friday, 27 November 2020 at 10:20:41 UTC, Vladimir Panteleev 
> However, that wouldn't help in this case, because the problem 
> here doesn't come from allocations, but from the stop-the-world 
> aspect of the GC.
> A theoretical non-stop-the-world GC would indeed help in this 
> situation, but such a GC is only possible if you restrict the 
> language to a subset, such that all copies of managed objects 
> are always visible to the compiler. It would require all 
> @system / extern(C) code to be carefully re-scrutinized. In 
> short, this would essentially be a different language (based on 
> D). I don't think we can get there from where we are now.

Hm, but it would only stop a single thread. You would not be 
allowed to share nonpinned objects with other threads.

More information about the Digitalmars-d mailing list