Plan for D

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Fri May 21 17:00:12 UTC 2021


On Friday, 21 May 2021 at 16:16:06 UTC, IGotD- wrote:
> Basically GC X is better than Y, which this is not about. What 
> this is about is that D should offer the programmers a choice, 
> a memory management that suits them whatever that is.
>
> Right now the GC in D is one size should fit all, which it 
> doesn't.

Right, but the one size GC will not scale. It has been improved 
over 10 years, but computers also have 8x cores and 64x memory. 
In another 10 years, the highend could have another 8x cores and 
another 64x memory. At some point we have like 64 cores and 1TB 
memory... At some point this type of GC will only work for small 
applications.

But D also needs something that is coherent. Something that can 
migrate between threads (possibly between CPUs in the future).

So regardless of how people feel, the concept of a task/actor is 
becoming more relevant. We see this on many scales, also in cloud 
solutions. Partioning computations and memory, making it less 
dependent on architecture, allows for scaling (and ultimately 
distributed computing).






More information about the Digitalmars-d mailing list