Future of memory management in D

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Nov 18 12:53:42 UTC 2021


On Thursday, 18 November 2021 at 12:42:04 UTC, Rumbu wrote:
> In D idioms allowing to overload tupleof if it was an operator.

Ok, I get it. So that would work with public fields only?

Yes, it is a weakness that class/struct are different yet very 
similar. Ideally a tuple should be syntactic sugar for a struct.


> This was to show how D paradigm shifted in 15 years from 
> avoiding library solutions to encouraging them.

Yes. Andrei did that with D2. A strategic mistake, but perhaps 
more fun.



More information about the Digitalmars-d mailing list