envy for "Writing Go Packages"

Walter Bright newshound1 at digitalmars.com
Fri May 7 10:55:34 PDT 2010


Jacob Carlborg wrote:
> Should it also contain something similar to rdmd?

I kind of like the idea that it shouldn't install D packages, but rather cache 
them from the web repository. It would be convenient because:

1. who actually cares about installing the packages
2. backups are automatic
3. your actual project is small and easily moved to another machine
4. it becomes trivial to use

Source code could look something like:

     import http.d_repository.foo.version1_23;

and the compiler could interpret "http" as meaning the rest is an internet url, 
foo is the package name, and version1_23 is the particular version of it.


More information about the Digitalmars-d mailing list