www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is their a good book on learning Phobos?

reply "WhatMeWorry" <kc_heaser yahoo.com> writes:
Particularly in regards to std.container?  Ideally, I wish Mr. 
Andrei Alexandrescu would write something like his masterpiece, 
The D Programming Language.

The examples embedded in this site and elsewhere seem a little 
rudimentary. I would like some real meaty examples like 
containers of containers.
May 04 2013
parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday, May 04, 2013 21:54:08 WhatMeWorry wrote:
 Particularly in regards to std.container?  Ideally, I wish Mr.
 Andrei Alexandrescu would write something like his masterpiece,
 The D Programming Language.
 
 The examples embedded in this site and elsewhere seem a little
 rudimentary. I would like some real meaty examples like
 containers of containers.
There are no books on Phobos AFAIK, and tutorials are something that we're sorely lacking in general. It's a known issue, and there's a lot of interest in getting that fixed, but there's still a lot to be done on that front. Also, std.container is fairly experimental and still needs a lot of work done on it. It risks changing quite a bit depending on what happens with custom allocators as well as discussions on improving its API. So, you can use what's there, and for the most part, it should work, but I'm not sure that you're going to be all that happy with it at this point. If you want containers, another far more complete solution is dcollections: https://github.com/schveiguy/dcollections std.container has the beginnings of something solid, but it isn't solid yet. - Jonathan M Davis
May 04 2013