www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - CPAN for D

reply Walter Bright <newshound1 digitalmars.com> writes:
http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

http://search.cpan.org/

Over and over, I hear that CPAN is one of the great reasons people use 
Java. Such for D would be a tremendous boost to the D community.
Nov 10 2009
next sibling parent bearophile <bearophileHUGS lycos.com> writes:
Walter Bright:

 Over and over, I hear that CPAN is one of the great reasons people use 
 Java. Such for D would be a tremendous boost to the D community.
*PERL*! :-) A CPAN-like for D may be useful, but CPAN is not just a repository, it's surely the result of several compromises, a balance. So you have to design it carefully to have similar usefulness. So I think we have first of all to list really carefully what makes CPAN what it is. Do you need a dynamic language to have a CPAN-like site? Maybe not. And D has already modules (with some design holes that eventually must be fixed). Bye, bearophile
Nov 10 2009
prev sibling next sibling parent reply Bill Baxter <wbaxter gmail.com> writes:
On Tue, Nov 10, 2009 at 3:08 PM, Walter Bright
<newshound1 digitalmars.com> wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

 http://search.cpan.org/

 Over and over, I hear that CPAN is one of the great reasons people use Java.
 Such for D would be a tremendous boost to the D community.
CPAN is so bad that people run away from Perl in horror over to comfortable but boring old Java? :-P DSSS was supposed to be a sort of CPAN for D. I think it's still the easiest way to get the Derelict library installed. Unfortunately it's really only a very humble start. It lacks any sort of versioning, and has no web face. And now it's unmaintained. --bb
Nov 10 2009
parent reply Clay Smith <clay.smith.r gmail.com> writes:
Bill Baxter wrote:
 On Tue, Nov 10, 2009 at 3:08 PM, Walter Bright
 <newshound1 digitalmars.com> wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

 http://search.cpan.org/

 Over and over, I hear that CPAN is one of the great reasons people use Java.
 Such for D would be a tremendous boost to the D community.
CPAN is so bad that people run away from Perl in horror over to comfortable but boring old Java? :-P DSSS was supposed to be a sort of CPAN for D. I think it's still the easiest way to get the Derelict library installed. Unfortunately it's really only a very humble start. It lacks any sort of versioning, and has no web face. And now it's unmaintained. --bb
It would be great if there could be a new DSSS maintainer, or someone to fix DSSS. Then I'd imagine a site like dsource.org could easily add CPAN like functionality, however it would need to make sure to only search for completed / near completed projects.
Nov 11 2009
next sibling parent reply Lutger <lutger.blijdestijn gmail.com> writes:
Clay Smith wrote:

 Bill Baxter wrote:
 On Tue, Nov 10, 2009 at 3:08 PM, Walter Bright
 <newshound1 digitalmars.com> wrote:
 
http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/
 http://search.cpan.org/

 Over and over, I hear that CPAN is one of the great reasons people use
 Java. Such for D would be a tremendous boost to the D community.
CPAN is so bad that people run away from Perl in horror over to comfortable but boring old Java? :-P DSSS was supposed to be a sort of CPAN for D. I think it's still the easiest way to get the Derelict library installed. Unfortunately it's really only a very humble start. It lacks any sort of versioning, and has no web face. And now it's unmaintained. --bb
It would be great if there could be a new DSSS maintainer, or someone to fix DSSS. Then I'd imagine a site like dsource.org could easily add CPAN like functionality, however it would need to make sure to only search for completed / near completed projects.
I agree very much, DSSS has so much potential it's not funny. If I wouldn't be too stuffed with work as is, I might attempt to fix it myself. Hopefully somebody steps in.
Nov 11 2009
parent Chad J <chadjoan __spam.is.bad__gmail.com> writes:
Lutger wrote:
 
 I agree very much, DSSS has so much potential it's not funny. If I wouldn't 
 be too stuffed with work as is, I might attempt to fix it myself. Hopefully 
 somebody steps in. 
I've hacked on it a bit, but nothing major and never finished the job. I think I was seeking to add support for multiple compiler/library versions/setups without the need to have multiple DSSS installations and file trees. I agree about the great potential as well. I'd actually like to see it borrow a bunch of good ideas from Gentoo's portage, since portage has been a very solid package manager for me. Of course, there is some stuff portage does though that is out of DSSS's scope, and some stuff that DSSS does that is out of portage's scope . In particular, concepts like use flags and different levels of release stability would be nice things to have.
Nov 11 2009
prev sibling parent Spacen Jasset <spacenjasset yahoo.co.uk> writes:
Clay Smith wrote:
 Bill Baxter wrote:
 On Tue, Nov 10, 2009 at 3:08 PM, Walter Bright
 <newshound1 digitalmars.com> wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/ 


 http://search.cpan.org/

 Over and over, I hear that CPAN is one of the great reasons people 
 use Java.
 Such for D would be a tremendous boost to the D community.
CPAN is so bad that people run away from Perl in horror over to comfortable but boring old Java? :-P DSSS was supposed to be a sort of CPAN for D. I think it's still the easiest way to get the Derelict library installed. Unfortunately it's really only a very humble start. It lacks any sort of versioning, and has no web face. And now it's unmaintained. --bb
It would be great if there could be a new DSSS maintainer, or someone to fix DSSS. Then I'd imagine a site like dsource.org could easily add CPAN like functionality, however it would need to make sure to only search for completed / near completed projects.
Yes DSSS is/was good. It probably needs more than one point of contact / maintainer. I'd also suggest using bzr/hg/git (in that order) such that users could more easily contribute changes, and it may help provide more visibility to exactly who and what is happening on the project, if branches can be registered. As for CPAN. It's the only thing that is good about Perl.
Nov 11 2009
prev sibling next sibling parent Walter Bright <newshound1 digitalmars.com> writes:
Walter Bright wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/
 
 http://search.cpan.org/
 
 Over and over, I hear that CPAN is one of the great reasons people use 
 Java. Such for D would be a tremendous boost to the D community.
AUCH! I mean Perl!
Nov 10 2009
prev sibling parent reply Knud Soerensen <4tuu4k002 sneakemail.com> writes:
Walter Bright wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/
 
 http://search.cpan.org/
 
 Over and over, I hear that CPAN is one of the great reasons people use 
 Java. Such for D would be a tremendous boost to the D community.
What about have the D compiler check online if it can't find a module on the local computer. ex. import foo.bar; would first check locally for foo/bar.d and the try online at http://www.digitalmars.com/d/modules/foo/bar.d or something like that. -- Join me on CrowdNews http://crowdnews.eu/users/addGuide/42/ Facebook http://www.facebook.com/profile.php?id=1198821880 Linkedin http://www.linkedin.com/pub/0/117/a54 Mandala http://www.mandala.dk/view-profile.php4?profileID=7660
Nov 10 2009
parent reply Leandro Lucarella <llucax gmail.com> writes:
Knud Soerensen, el 11 de noviembre a las 04:57 me escribiste:
 Walter Bright wrote:
http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

http://search.cpan.org/

Over and over, I hear that CPAN is one of the great reasons people
use Java. Such for D would be a tremendous boost to the D
community.
What about have the D compiler check online if it can't find a module on the local computer. ex. import foo.bar; would first check locally for foo/bar.d and the try online at http://www.digitalmars.com/d/modules/foo/bar.d or something like that.
You are not much of a security guy, are you? ;) -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- I'm a rabbit in your headlights Scared of the spotlight You don't come to visit I'm stuck on this bed
Nov 10 2009
parent reply Knud Soerensen <4tuu4k002 sneakemail.com> writes:
Leandro Lucarella wrote:
 Knud Soerensen, el 11 de noviembre a las 04:57 me escribiste:
 Walter Bright wrote:
 http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

 http://search.cpan.org/

 Over and over, I hear that CPAN is one of the great reasons people
 use Java. Such for D would be a tremendous boost to the D
 community.
What about have the D compiler check online if it can't find a module on the local computer. ex. import foo.bar; would first check locally for foo/bar.d and the try online at http://www.digitalmars.com/d/modules/foo/bar.d or something like that.
You are not much of a security guy, are you? ;)
No, I mostly chose freedom over security ;-) How does CPAN solve the security problem ? I doesn't suggest that any url can be used in import, I suggest that it look on a specific trused server http://www.digitalmars.com/d/modules/ or something similar. -- Join me on CrowdNews http://crowdnews.eu/users/addGuide/42/ Facebook http://www.facebook.com/profile.php?id=1198821880 Linkedin http://www.linkedin.com/pub/0/117/a54 Mandala http://www.mandala.dk/view-profile.php4?profileID=7660
Nov 11 2009
parent reply Leandro Lucarella <llucax gmail.com> writes:
Knud Soerensen, el 11 de noviembre a las 11:55 me escribiste:
 Leandro Lucarella wrote:
Knud Soerensen, el 11 de noviembre a las 04:57 me escribiste:
Walter Bright wrote:
http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

http://search.cpan.org/

Over and over, I hear that CPAN is one of the great reasons people
use Java. Such for D would be a tremendous boost to the D
community.
What about have the D compiler check online if it can't find a module on the local computer. ex. import foo.bar; would first check locally for foo/bar.d and the try online at http://www.digitalmars.com/d/modules/foo/bar.d or something like that.
You are not much of a security guy, are you? ;)
No, I mostly chose freedom over security ;-) How does CPAN solve the security problem ? I doesn't suggest that any url can be used in import, I suggest that it look on a specific trused server http://www.digitalmars.com/d/modules/ or something similar.
Change the /etc/hosts and bang! Even more, digital mars website can be cracked. If you add SSL authentication to the mix, maybe we can start talking about something. But I will be very odd to make import download *anything*. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Aprendan de la primavera, que antecede al verano, precede al inverno y no lo anda diciendo por ahí. -- Ricardo Vaporeso. Llanos de Luzuriaga, 1914.
Nov 11 2009
parent "Nick Sabalausky" <a a.a> writes:
"Leandro Lucarella" <llucax gmail.com> wrote in message 
news:20091111221420.GA28195 llucax.com.ar...
 Knud Soerensen, el 11 de noviembre a las 11:55 me escribiste:
 Leandro Lucarella wrote:
Knud Soerensen, el 11 de noviembre a las 04:57 me escribiste:
Walter Bright wrote:
http://www.reddit.com/r/programming/comments/a2nfz/guido_people_want_cpan/

http://search.cpan.org/

Over and over, I hear that CPAN is one of the great reasons people
use Java. Such for D would be a tremendous boost to the D
community.
What about have the D compiler check online if it can't find a module on the local computer. ex. import foo.bar; would first check locally for foo/bar.d and the try online at http://www.digitalmars.com/d/modules/foo/bar.d or something like that.
You are not much of a security guy, are you? ;)
No, I mostly chose freedom over security ;-) How does CPAN solve the security problem ? I doesn't suggest that any url can be used in import, I suggest that it look on a specific trused server http://www.digitalmars.com/d/modules/ or something similar.
Change the /etc/hosts and bang! Even more, digital mars website can be cracked. If you add SSL authentication to the mix, maybe we can start talking about something. But I will be very odd to make import download *anything*.
It's an interesting idea, but, if one of my imports fails, 99.9+% of the time it's because I either typed the wrong thing or didn't give DMD the (correct) location. It's rarely, if ever, because I didn't download it. Plus then there's the question of versions. It's interesting, but doesn't seem all that useful, even with security issues aside.
Nov 11 2009