Expanding Phobos from a flat hierachy

Jakob Ovrum jakobovrum at gmail.com
Thu Feb 7 05:26:10 PST 2013


On Wednesday, 6 February 2013 at 22:25:03 UTC, Brad Anderson 
wrote:
> Reading more, it looks like Dub is his attempt to make VPM less 
> Vibe.d specific and more for general D use.  It even generates 
> VisualD project files.
>
> Cool stuff.
>
> BA

Yeah, I'm leaning towards DUB for a few reasons.

The implementation is written in idiomatic D2; it's much more 
likely to attract contributors this way.

The online package registry is already up and is entirely powered 
by vibe.d and its ecosystem: we're eating our own dog food 
throughout.

Also, using a data format (JSON, in this case) over a scripting 
language has its advantages. With DUB, there is only one piece of 
software you need to trust (which is DUB itself), as the package 
description file is not software. It's possible to do things like 
automatically building packages without having to vet a build 
script's quality. I'm not sure how sound this point really is, 
but it feels right (for what little it's worth...).


More information about the Digitalmars-d mailing list