envy for "Writing Go Packages"

Johan Granberg lijat.meREM at OVEgmail.com
Fri May 7 11:37:05 PDT 2010


Walter Bright wrote:

> 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

If I was administering a server or multiuser system or linux distribution I
would care, being able to install packages and libraries globaly for all
users easily can be important.

> 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