DIP11
Jacob Carlborg
doob at me.com
Fri Aug 12 02:14:40 PDT 2011
On 2011-08-12 08:17, kennytm wrote:
> "Steven Schveighoffer"<schveiguy at yahoo.com> wrote:
>> On Thu, 11 Aug 2011 17:20:04 -0400, Nick Sabalausky<a at a.a> wrote:
>>
>>> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org> wrote in
>>> message
>>> news:j21g1a$ea4$1 at digitalmars.com...
>>>>
>>>> It's difficult to get all dependencies when not all sources have
>>>> been>> yet
>>>> downloaded.
>>>>
>>>
>>> With DIP11, yes. With a traditional-style package manager, no.
>>
>> With either style, you need to download a package in order to
>> determine if you need to download other packages (package a may
>> depend on package b even though your project does not depend on
>> package b). The DIP11 version does this JIT, whereas your version
>> does it before compilation. It's not really any different.
>>
>> -Steve
>>
>
> In Debian's apt, there will be a central index that records all
> dependencies for packages in the repository. So the client only needs to
> synchronize that index file regularly. The system will know package A
> depends on B which depends on C and D and download all 4 packages.
Exactly
> That said, since you need to download the pakcgaes anyway, having a
> central index doesn't reduce the bytes you need to transfer and parse if
> DIP11 doesn't support updating.
No, but I'm guessing it's more efficient to download zip files instead
of individual D files.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list