Is their a good book on learning Phobos?

Jonathan M Davis jmdavisProg at gmx.com
Sat May 4 17:43:55 PDT 2013


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


More information about the Digitalmars-d-learn mailing list