Is borrow checker the right thing for D?

bachmeier no at spam.net
Thu Aug 15 20:34:03 UTC 2019


On Thursday, 15 August 2019 at 19:53:59 UTC, IGotD- wrote:
> This is regarding the blog post
>
> https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in-d/
>
> and the associated DIPs.
>
> What I'm worried about here is how this change would change the 
> aesthetics and usability of D. Right now it is Java like, the 
> garbage collector takes care of the memory and you can focus on 
> being productive.

I don't think the GC will ever be removed. My understanding is 
that the option would be available for those that want the whole 
OB thing. I'd immediately move to another language if D wasn't a 
GC language.

> What do you think about refocusing the memory management 
> efforts towards solid RC instead?

There have been many lengthy threads on this topic. To my 
knowledge, they have never arrived at a satisfactory solution, 
but I can't say I've followed every detail of the discussions.


More information about the Digitalmars-d mailing list