Allocators

Jonathan M Davis jmdavisProg at gmx.com
Fri Aug 23 13:17:25 PDT 2013


On Friday, August 23, 2013 13:03:02 H. S. Teoh wrote:
> > On Friday, 23 August 2013 at 17:27:39 UTC, Peter Alexander wrote:
> > >Or const.
> 
> What's the problem with const again?

Just the issues with it an Object AFAIK.
Or Object methods.
> 
> Wasn't the latest consensus to get rid of them all? Though it does put
> the implementation at odds with TDPL...

That's what we agreed on. The problem is implementing the changes. I have a 
pull for druntime which starts the process for opEquals, but compiler changes 
are likely to be required to get all of this to work, and we may need the AA 
implementation to be fixed first as well. So, there are some serious roadblocks. 
The most recent discussion on it was

http://forum.dlang.org/thread/mailman.214.1369617617.13711.digitalmars-d@puremagic.com

though it looks like Kenji's reply in that thread was split off:

http://forum.dlang.org/thread/7851915.gvRHKl6iG7@lyonel

An enterprising compiler dev could probably get us most of the way there 
pretty quickly though based on some of the ideas in that discussion. I don't 
know if we can avoid needing to fix the AAs first or not though, and you know 
better than most of us how much of a mess that is.

- Jonathan M Davis


More information about the Digitalmars-d mailing list