<div class="gmail_quote">On Fri, Jun 10, 2011 at 3:48 PM, Nick Sabalausky <span dir="ltr"><a@a.a></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

"Andrew Wiley" <<a href="mailto:wiley.andrew.j@gmail.com">wiley.andrew.j@gmail.com</a>> wrote in message<br>
news:mailman.776.1307728872.14074.digitalmars-d@puremagic.com...<br>
<div class="im">> On Fri, Jun 10, 2011 at 9:29 AM, Caligo <<a href="mailto:iteronvexor@gmail.com">iteronvexor@gmail.com</a>> wrote:<br>
><br>
</div><div><div></div><div class="h5">>> On Wed, Jun 8, 2011 at 6:06 PM, Andrei Alexandrescu<br>
>> <<a href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</a>> wrote:<br>
>> > That's it. We need a package management expert on board to either<br>
>> > revive<br>
>> > dsss or another similar project, or define a new package manager<br>
>> altogether.<br>
>> > No "yeah I have some code somewhere feel free to copy from it"; we need<br>
>> > professional execution. Then we need to make that tool part of the<br>
>> standard<br>
>> > distribution such that library discovery, installation, and management<br>
>> > is<br>
>> as<br>
>> > easy as running a command.<br>
>> ><br>
>> > I'm putting this up for grabs. It's an important project of high<br>
>> > impact.<br>
>> > Wondering what you could do to help D? Take this to completion.<br>
>> ><br>
>> ><br>
>> > Andrei<br>
>> ><br>
>><br>
>> Andrei, I have to respectfully disagree with you on that, sorry.<br>
>><br>
>> D is supposed to be a system programming language, not some scripting<br>
>> language like Ruby.  Besides, the idea of some kind of package<br>
>> management for a programming language is one of the worst ideas ever,<br>
>> specially when it's a system programming language.  You have no idea<br>
>> how much pain and suffering it's going to cause the OS developers and<br>
>> package maintainers.  I can see how the idea might be attractive to<br>
>> non-*nix users, but most other *nix OSs have some kind of package<br>
>> management system and searching for, installing, and managing software<br>
>> is as easy as running a command.<br>
>><br>
><br>
</div></div><div class="im">> It doesn't have to be hard if you build the package manager in such a way<br>
> that it can be integrated into the OS package manager, whether that means<br>
> letting the OS package manager modify the language package manager's<br>
> database or just adding a switch that turns your package manager into a<br>
> dumb<br>
> build tool so dependency checks can be left to the OS package manager.<br>
> That's my theory, anyway.<br>
><br>
<br>
</div>I'd say one critical requirement for a package manager is that it be based<br>
around the idea of supporting multiple versins of the same lib at the same<br>
time. If you're just going to re-invent your own little DLL hell you'd<br>
almost be better off just going with the OS package manager.<br>
<br></blockquote><div><br></div><div>Well, yes, but if the OS package manager can't handle multiple versions of the same lib (and so far, I haven't seem one that can), making that work isn't a necessary part of OS package manager integration. I agree that the language package manager should be able to manage multiple versions in whatever local stores it maintains.</div>

<div>The trick is that if I install a package through the OS package manager, there needs to be a way for the language package manager to know what was installed and use that if possible. And, when an application is released, it needs to be possible for it to be built as an OS package depending entirely on other OS packages instead of the language package manager's local stores, and if the language package manager is built in such a way that this is feasible, it should become much more useful.</div>

<div>This is all just hand-waving at this point, but it seems like if a sane method can be devised to make this sort of thing happen, the end result will be much better.</div></div>