Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3AD86200CA7 for ; Wed, 31 May 2017 02:24:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 39753160BDD; Wed, 31 May 2017 00:24:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 58691160BC9 for ; Wed, 31 May 2017 02:24:28 +0200 (CEST) Received: (qmail 21656 invoked by uid 500); 31 May 2017 00:24:27 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 21641 invoked by uid 99); 31 May 2017 00:24:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 00:24:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DB64F180692 for ; Wed, 31 May 2017 00:24:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.916 X-Spam-Level: * X-Spam-Status: No, score=1.916 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QU0acTMNmDFE for ; Wed, 31 May 2017 00:24:25 +0000 (UTC) Received: from mail-ua0-f172.google.com (mail-ua0-f172.google.com [209.85.217.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 34AA95F36B for ; Wed, 31 May 2017 00:24:25 +0000 (UTC) Received: by mail-ua0-f172.google.com with SMTP id y4so832117uay.2 for ; Tue, 30 May 2017 17:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=c5ecPtC/ayUwpXQzoBvb48OhVZkLhev25C6Aie6J4Hk=; b=vEBUWfoZOCVDG3IPFKBsblXaeNSg3ZZ6lnRKKH2Q4jJ6NcpbXamBrYuj/oDOjLmm8I Agg9QsizCZoDq05H9YxNrRpoSj8RH32adE9+/DtDpinN8j2ZrIAmCEeaFL0CA+uAoYPw //jd7pP/1LMYgPdp3vfsa40VMHEsd9MUpnTZzzLZm8SI4bUxJd5Z+9OuHgSMeI0uaCTy /+imvzveBwXICszHWguLBmQsl8Iu4wyo6zGzekCHRx+rmadqmIDv8nHDhgvXVlxApba4 OZ4wy4iKPTgMQiaV26pdWKK3awREeTJqLDgN26hd1dfB8Jox3QR054yaNiSvOUyEDBA8 ZbHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=c5ecPtC/ayUwpXQzoBvb48OhVZkLhev25C6Aie6J4Hk=; b=R/n6aVS1cLHB/+AOzdGPa6y5vwVzT+SjJ+COXg0A80AxPZE/kwrzMw02kRYxWs+C7M FU4QtMm8xiorloHxvwxd48ErFsCr4oLoayJ319ThwmIBdraZSPLstwtuHNKiejWb3WOr 9NErvmhXeg/mwElLIHOXyWgO7QgLLnMb5a/9f5RemarbTgdxMCeR9c+dIRXX2sdoObqY uZbQOoG4MvyxIeCa6Mc7g0o8bu35NXa3EW3oSiTC4zrIzdhjKw6fwKnpHMeC9JLKtVQ6 pfwu1+g2+rOmnX0Ww73B87xu2y76KfnOyq4SLBDRi46pCXSnUAbgTah1c9jECZ/mXycb e7cA== X-Gm-Message-State: AODbwcDjxwVyY+QPo7bgtVePRYfG+tQYiF5VCWCyUAAilOLcp2ktld+M PcHbCuj+yw8VmMQpgahSflk2jcliGCAXQOM= X-Received: by 10.176.95.153 with SMTP id b25mr12307661uaj.7.1496190264607; Tue, 30 May 2017 17:24:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.33.211 with HTTP; Tue, 30 May 2017 17:24:23 -0700 (PDT) In-Reply-To: <75ce295e-6b6a-c6d8-a50a-39b1c7880d38@gmx.org> References: <1495957581.5732.2.camel@winder.org.uk> <1495974130703-5741394.post@n5.nabble.com> <31c6fc75-8aa4-0fa7-bb6f-f47a81d814ee@gmx.org> <1496157883523-5741420.post@n5.nabble.com> <75ce295e-6b6a-c6d8-a50a-39b1c7880d38@gmx.org> From: John Wagenleitner Date: Tue, 30 May 2017 17:24:23 -0700 Message-ID: Subject: Re: Indy vs default build To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="089e082069843d09710550c6f14b" archived-at: Wed, 31 May 2017 00:24:29 -0000 --089e082069843d09710550c6f14b Content-Type: text/plain; charset="UTF-8" Does indy by default mean 1. only generate one set of groovy-* artifacts where any .groovy source files in the Groovy source itself are compiled using indy (no more separate indy jars) or 2. continue to have two sets of artifacts where the indy set would go in lib/ by default and -noindy jars would exist that could replace them if old callsite code is desired I took Russel's original suggestion to mean #1 and I would be in favor of that for 3.0. I think any performance concern would largely be confined to some of the sub-projects in the Groovy codebase since most of core is written in Java. The other consideration in making indy default is whether indy will be enabled by default for compiling user supplied source and this is what I think most are referring to in the replies. This is where I agree that there is no rush to remove the callsite code and it would be good to have a --no-indy option for the next several major versions after that change is made. John On Tue, May 30, 2017 at 4:29 PM, Jochen Theodorou wrote: > in my opinion if JDK8 is the minimum requirement we can switch to indy as > default, while keeping the old call site caching as is. > > It is more that in the long term we want to get rid of code that has no > future and all that. But I see no hard requirement to do those things just > because of indy beig the default > > bye Jochen > > On 30.05.2017 23:48, Mario Garcia wrote: > >> If I didn't get it wrong, there is a possibility to have indy as a >> default only if: >> >> 1. Callsite caching is rewritten to work with indy/no indy >> 2. We keep binary compatibility Groovy 3 / JDK7 until Gradle moves to >> Groovy 3 >> 3. Then we will be able to move to Groovy with JDK8 and set Indy by >> default >> >> Is that correct ? >> Mario >> >> 2017-05-30 17:24 GMT+02:00 Daniel Sun > >: >> >> > I don't think it would be good if gradle stayed on Groovy 2.x. That >> would >> counter the acceptance of Groovy 3 >> >> Agreed. >> >> Cheers, >> Daniel.Sun >> >> >> >> >> -- >> View this message in context: >> http://groovy.329449.n5.nabble.com/Indy-vs-default-build- >> tp5741393p5741420.html >> > tp5741393p5741420.html> >> Sent from the Groovy Dev mailing list archive at Nabble.com. >> >> >> --089e082069843d09710550c6f14b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Does indy by default mean

1. =C2=A0only= generate one set of groovy-* artifacts where any .groovy source files in t= he Groovy source itself are compiled using indy (no more separate indy jars= )

or=C2=A0

2. =C2=A0conti= nue to have two sets of artifacts where the indy set would go in lib/ by de= fault and -noindy jars would exist that could replace them if old callsite = code is desired

I took Russel's original sugge= stion to mean #1 and I would be in favor of that for 3.0. I think any perfo= rmance concern would largely be confined to some of the sub-projects in the= Groovy codebase since most of core is written in Java.

The other consideration in making indy default is whether indy will b= e enabled by default for compiling user supplied source and this is what I = think most are referring to in the replies.=C2=A0 This is where I agree tha= t there is no rush to remove the callsite code and it would be good to have= a --no-indy option for the next several major versions after that change i= s made.

John


On Tue, May 30, 2017 at = 4:29 PM, Jochen Theodorou <blackdrag@gmx.org> wrote:
in my opinion if JDK8 is the minimum requirement= we can switch to indy as default, while keeping the old call site caching = as is.

It is more that in the long term we want to get rid of code that has no fut= ure and all that. But I see no hard requirement to do those things just bec= ause of indy beig the default

bye Jochen

On 30.05.2017 23:48, Mario Garcia wrote:
If I didn't get it wrong, there is a possibility to have indy as a
default only if:

=C2=A01. Callsite caching is rewritten to work with indy/no indy
=C2=A02. We keep binary compatibility Groovy 3 / JDK7 until Gradle moves to=
=C2=A0 =C2=A0 Groovy 3
=C2=A03. Then we will be able to move to Groovy with JDK8 and set Indy by d= efault

Is that correct ?
Mario

2017-05-30 17:24 GMT+02:00 Daniel Sun <realbluesun@hotmail.com
<mailto:rea= lbluesun@hotmail.com>>:

=C2=A0 =C2=A0 > I don't think it would be good if gradle stayed on G= roovy 2.x. That would
=C2=A0 =C2=A0 counter the acceptance of Groovy 3

=C2=A0 =C2=A0 Agreed.

=C2=A0 =C2=A0 Cheers,
=C2=A0 =C2=A0 Daniel.Sun




=C2=A0 =C2=A0 --
=C2=A0 =C2=A0 View this message in context:
=C2=A0 =C2=A0 http://= groovy.329449.n5.nabble.com/Indy-vs-default-build-tp5741393p57414= 20.html
=C2=A0 =C2=A0 <htt= p://groovy.329449.n5.nabble.com/Indy-vs-default-build-tp5741393p5= 741420.html>
=C2=A0 =C2=A0 Sent from the Groovy Dev mailing list archive at Nabble.com.<= br>


--089e082069843d09710550c6f14b--