Re: Dub, Cargo, Go, Gradle, Maven

2018-02-22 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 22, 2018 at 09:24:05AM +, Russel Winder via Digitalmars-d wrote: > On Wed, 2018-02-21 at 09:30 -0800, H. S. Teoh via Digitalmars-d wrote: [...] > Dub, Cargo, and to a great extent Maven, give you tools to specify > declaratively the project and nothing else. All actions are

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-22 Thread Russel Winder via Digitalmars-d
On Wed, 2018-02-21 at 09:30 -0800, H. S. Teoh via Digitalmars-d wrote: > > […] > I think the ideal situation straddles the divide between declarative > build specs and a full-fledged general programming language. You > don't > want it to get too general, lest you end up with the build

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-22 Thread Russel Winder via Digitalmars-d
On Wed, 2018-02-21 at 12:05 -0700, David Gileadi via Digitalmars-d wrote: > […] > > Working in the Java world, I was extremely happy when I discovered > Gradle. It looks declarative thanks to the Groovy language, but you > can > easily mix 'n' match more imperative code inline. It is worth

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread David Gileadi via Digitalmars-d
On 2/21/18 10:30 AM, H. S. Teoh wrote: I think the ideal situation straddles the divide between declarative build specs and a full-fledged general programming language. You don't want it to get too general, lest you end up with the build equivalent of spaghetti code where the build script

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread H. S. Teoh via Digitalmars-d
On Wed, Feb 21, 2018 at 11:03:13AM +, Russel Winder wrote: [...] > I have been (still am?) a SCons fan but it has some serious problems > in some workflows. > > I think all of the things you mention are solved in a system that has > a general purpose programming language to describe the

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-16 at 14:48 -0800, H. S. Teoh via Digitalmars-d wrote: > […] > > This assumes that the upstream server (1) consistently serves the > same > data for the same version -- which in principle will be the case, but > unforeseen problems could break this assumption; (2) stores all >

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-16 at 19:31 +, Dmitry Olshansky via Digitalmars-d wrote: > […] > Me personally in love with plugins and general purpose language > available to define tasks. Scala’s SBT may have many faults but > plugins and extensibility make it awesome. Maven has plugins but is seriously

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-21 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-16 at 10:16 -0800, H. S. Teoh via Digitalmars-d wrote: > […] > If a dependent node requires network access, it forces network access > every time the DAG is updated. This is slow, and also unreliable: > the > shape of the DAG could, in theory, change arbitrarily at any time >

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread Dmitry Olshansky via Digitalmars-d
On Friday, 16 February 2018 at 22:48:55 UTC, H. S. Teoh wrote: On Fri, Feb 16, 2018 at 07:31:37PM +, Dmitry Olshansky via Digitalmars-d wrote: On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: [...] > If a dependent node requires network access, it forces > network access

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 16, 2018 at 07:31:37PM +, Dmitry Olshansky via Digitalmars-d wrote: > On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: [...] > > If a dependent node requires network access, it forces network > > access every time the DAG is updated. This is slow, and also > >

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 16 February 2018 at 19:40:07 UTC, H. S. Teoh wrote: On Fri, Feb 16, 2018 at 07:40:01PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: > The O(N) vs. O(n) issue is actually very important once you I understand what

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread H. S. Teoh via Digitalmars-d
On Fri, Feb 16, 2018 at 07:40:01PM +, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: > > The O(N) vs. O(n) issue is actually very important once you > > I understand what you are trying to say, but this usage of notation is >

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread Ola Fosheim Grøstad via Digitalmars-d
On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: The O(N) vs. O(n) issue is actually very important once you I understand what you are trying to say, but this usage of notation is very confusing. O(n) is exactly the same as O(N) if N relates to n by a given percentage.

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread Dmitry Olshansky via Digitalmars-d
On Friday, 16 February 2018 at 18:16:12 UTC, H. S. Teoh wrote: On Mon, Feb 12, 2018 at 10:35:06AM +, Russel Winder via Digitalmars-d wrote: In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago.

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-16 Thread H. S. Teoh via Digitalmars-d
On Mon, Feb 12, 2018 at 10:35:06AM +, Russel Winder via Digitalmars-d wrote: > In all the discussion of Dub to date, it hasn't been pointed out that > JVM building merged dependency management and build a long time ago. > Historically: > > Make → Ant → Maven → Gradle > > and Gradle can

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread Pjotr Prins via Digitalmars-d
On Thursday, 15 February 2018 at 17:54:57 UTC, John Gabriele wrote: Are any other languages using Guix for their 3rd-party online package repo? If not, why? GNU Guile ;). That's excellent. I remember years ago it looked like there was action in getting a Guile package repo going but it

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 16:47:35 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 15:52:41 UTC, John Gabriele wrote: It's a bit confusing since the first thing [the Guix webpage](https://www.gnu.org/software/guix/) talks about "GuixSD", rather than the Guix tool in its own

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread Pjotr Prins via Digitalmars-d
On Thursday, 15 February 2018 at 15:52:41 UTC, John Gabriele wrote: It's a bit confusing since the first thing [the Guix webpage](https://www.gnu.org/software/guix/) talks about "GuixSD", rather than the Guix tool in its own right. Yes. We discussed that at the hackathon before FOSDEM. It is

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 07:21:24 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 04:11:51 UTC, Graham St Jack wrote: Maybe a compromise position would be for a package management system to define an interface through which it can do things like: * Discover what the external

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-14 Thread Pjotr Prins via Digitalmars-d
On Thursday, 15 February 2018 at 04:11:51 UTC, Graham St Jack wrote: Maybe a compromise position would be for a package management system to define an interface through which it can do things like: * Discover what the external dependencies are, * Provide those external dependencies, and *

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-14 Thread Graham St Jack via Digitalmars-d
On Tue, 13 Feb 2018 10:21:49 +, Abdulhaq wrote: > On Tuesday, 13 February 2018 at 10:06:43 UTC, welkam wrote: >> ADG? Google doesnt find anything relevant > > Acyclic directed graph A.K.A "DAG" - directed acyclic graph. I am also interested in build systems, and am currently convinced that

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-13 Thread Abdulhaq via Digitalmars-d
On Tuesday, 13 February 2018 at 10:06:43 UTC, welkam wrote: ADG? Google doesnt find anything relevant Acyclic directed graph

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-13 Thread welkam via Digitalmars-d
ADG? Google doesnt find anything relevant

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread Jonathan Marler via Digitalmars-d
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote: In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago. Historically: Make → Ant → Maven → Gradle and Gradle can handle C++ as well as JVM

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread John Gabriele via Digitalmars-d
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote: In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago. Historically: Make → Ant → Maven → Gradle and Gradle can handle C++ as well as JVM

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread b4siL3 b. via Digitalmars-d
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote: In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago. Historically: Make → Ant → Maven → Gradle and Gradle can handle C++ as well as JVM

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread bachmeier via Digitalmars-d
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote: Having been obsessed by build and project management since about 1976, I'd be interested in doing some work on this. This is interesting to me, though I don't know how helpful I can be. At a minimum I will be able to do

Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread Russel Winder via Digitalmars-d
In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago. Historically: Make → Ant → Maven → Gradle and Gradle can handle C++ as well as JVM language builds. So the integration of package management and build as