From users-return-3637-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Thu Jun 14 15:02:56 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 98173180600 for ; Thu, 14 Jun 2018 15:02:55 +0200 (CEST) Received: (qmail 60529 invoked by uid 500); 14 Jun 2018 13:02:54 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 60519 invoked by uid 99); 14 Jun 2018 13:02:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2018 13:02:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1B7E8C00D6 for ; Thu, 14 Jun 2018 13:02:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.97 X-Spam-Level: * X-Spam-Status: No, score=1.97 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=asert-com-au.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qxXuC1iLskD9 for ; Thu, 14 Jun 2018 13:02:51 +0000 (UTC) Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E46975F51F for ; Thu, 14 Jun 2018 13:02:50 +0000 (UTC) Received: by mail-oi0-f53.google.com with SMTP id a141-v6so5544934oii.8 for ; Thu, 14 Jun 2018 06:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asert-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=BhSLvn1Hqn+1Aj6LEL1gczb+Wa0ybzMB96NKWt+nSCk=; b=NnZV87ONc1Jyhhh8M3/IotihwMtlffBbhOCOIX31Fm08HEedek+0OZ9Ekl5bDfRF7K lCUOhzWJdWCxcyZ1JpU9N3H23bZZn+yiWNGgF7U/3k8SGQA6qv4jcY8rze4ijrBCHs7D OyZFHim+EDZp/baP9aeJHhCElHf9fWHG2+stOxzB3p2koUbnxrSj6qIn6H9HPa+ncJzm 8r3U93sDmKZbuh248GZb74hI7Gd96uPNDDtve5MzG9P13Fpiu+uH1UqmB5JSUEDxxyqx ZHrBOFNnRbAAnJmb71az16oD7bh9MD6gCNKLG1oSEOV4OksAslIfyDnlt4IbGkFXFD11 5uRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=BhSLvn1Hqn+1Aj6LEL1gczb+Wa0ybzMB96NKWt+nSCk=; b=Izui6yD+9fO6L1RF6Ozrqj9VRS7l5o4A3Hlzc6wrJeubHq12+/Hh8hcdcvEdceMu7t /70LgF95E90L8+i5bG9Rlc7+IECLpBNGkCHF8uekRr2FqB45gphulwBB79iaKAKbWfcb R3Xx3gmBkwv5Fodm8dTwOmW8lRNYjCgrW1RDlDUZM95S9CGYK47IlzBqntIHUsBGIskP 3uJoKg9pKBOY3VUpQoZoml7qgT72yR4436XWVR7/NH4sDC1ysOKSNb3OVUmPqFSJl/7Q EmZecjnf4UifMGpoOgaRgUytJGZbV7LeU/nlLkTkOT9PmZyNYW0QyNCC5peir/+77RAF egiw== X-Gm-Message-State: APt69E27uMjWpXFSHuMGerMT7vsDNeddObxsO0OJDR8mr3RDky6nhCcR sZdQnvuibQJk04MSdYzKlmEEXJl0gJW9ZI8opGrhFQ== X-Google-Smtp-Source: ADUXVKJNrl3c9D/nSWA/Ec/4pQ7BV8qFQ3P/aofp2F+X70T152WT2P4DlzsmEqNRgvQk2mfTZ11lPWycdeArOGtT9No= X-Received: by 2002:aca:2d56:: with SMTP id t83-v6mr1276508oit.208.1528981364231; Thu, 14 Jun 2018 06:02:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: paulk@asert.com.au From: Paul King Date: Thu, 14 Jun 2018 23:02:32 +1000 Message-ID: Subject: Re: GraalVM/Truffle ? To: users@groovy.apache.org Content-Type: multipart/alternative; boundary="00000000000015677a056e99b719" --00000000000015677a056e99b719 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As it turns out, I haven't tried the indy artifacts/compilation switches as yet, just the "classic/standard" jars. I'd suspect though that most benefit would occur if targeting the GraalVM specifically when generating bytecode. Cheers, Paul. On Thu, Jun 14, 2018 at 10:42 PM Winnebeck, Jason < Jason.Winnebeck@windstream.com> wrote: > It=E2=80=99s interesting that it is slower, because I thought the point o= f it was > to improve performance, especially regarding escape analysis and > invokedynamic instruction? They=E2=80=99ve been publishing some very inte= resting > benchmarks. The AOT mode is very interesting, too, especially if someone > wanted to make some CLI commands in Groovy, although the resulting > executables are still very large if you just wanted to make some shell > =E2=80=9Cscripts=E2=80=9D in Groovy. Though, I would suspect its AOT mode= is not very > compatible with Groovy due to extensive use of reflection. > > > > Jason > > > > *From:* Paul King [mailto:paulk@asert.com.au] > *Sent:* Thursday, June 14, 2018 4:30 AM > *To:* users@groovy.apache.org > *Subject:* Re: GraalVM/Truffle ? > > > > Running numerous scripts on GraalVM worked fine for me and was only > slightly slower in my tests than the standard Oracle JVM. I haven't done > extensive testing though. > > > > As for actually leveraging any special GraalVM capabilities, I am not > aware of any completed work/concrete plans to date. > > > > As for licensing, it may or may not be an issue. We'll have to see how > things progress before we can say. > > > > Cheers, Paul. > > > > > > On Thu, Jun 14, 2018 at 1:33 AM MG wrote: > > Since GraalVM (https://en.wikipedia.org/wiki/GraalVM > ) > was mentioned here > recently: Do we have any statement on plans of Groovy with regards to > GraalVM, including Truffle ? It might be good to have an official > statement here on the main Groovy page and on Wikipedia > (https://en.wikipedia.org/wiki/Apache_Groovy > ), > even if it e.g., in > essence, just states "Groovy runs/will run fine on GraalVM", "The > Truffle license (GPL 2.0 w CP exception) is not compatible with Apache > Groovy" or "Truffle makes no sense for Groovy (at this point)"... > > Cheers, > mg > > This email message and any attachments are for the sole use of the > intended recipient(s). Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, please > contact the sender by reply email and destroy all copies of the original > message and any attachments. > --00000000000015677a056e99b719 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

As it turns out, I haven't tried the indy art= ifacts/compilation switches as yet, just the "classic/standard" j= ars. I'd suspect though that most benefit would occur if targeting the = GraalVM specifically when generating bytecode.

Che= ers, Paul.

On Th= u, Jun 14, 2018 at 10:42 PM Winnebeck, Jason <Jason.Winnebeck@windstream.com> wrote:

It=E2=80=99s interesting that it is slower, because = I thought the point of it was to improve performance, especially regarding = escape analysis and invokedynamic instruction? They=E2=80=99ve been publish= ing some very interesting benchmarks. The AOT mode is very interesting, too, especially if someone wanted to make some CLI co= mmands in Groovy, although the resulting executables are still very large i= f you just wanted to make some shell =E2=80=9Cscripts=E2=80=9D in Groovy. T= hough, I would suspect its AOT mode is not very compatible with Groovy due to extensive use of reflection.

=C2=A0

Jason

=C2=A0

From: Paul King [mailto:paulk@asert.com.au]
Sent: Thursday, June 14, 2018 4:30 AM
To: use= rs@groovy.apache.org
Subject: Re: GraalVM/Truffle ?

=C2=A0

Running numerous scripts on GraalVM worked fine for = me and was only slightly slower in my tests than the standard Oracle JVM. I= haven't done extensive testing though.

=C2=A0

As for actually leveraging any special GraalVM capab= ilities, I am not aware of any completed work/concrete plans to date.

=C2=A0

As for licensing, it may or may not be an issue. We&= #39;ll have to see how things progress before we can say.

=C2=A0

Cheers, Paul.

=C2=A0

=C2=A0

On Thu, Jun 14, 2018 at 1:33 AM MG <mgbiz@arscreat.com> wrote= :

Since GraalVM (https://en.wikipedia.= org/wiki/GraalVM) was mentioned here
recently: Do we have any statement on plans of Groovy with regards to
GraalVM, including Truffle ? It might be good to have an official
statement here on the main Groovy page and on Wikipedia
(https://= en.wikipedia.org/wiki/Apache_Groovy), even if it e.g., in
essence, just states "Groovy runs/will run fine on GraalVM", &quo= t;The
Truffle license (GPL 2.0 w CP exception) is not compatible with Apache
Groovy" or "Truffle makes no sense for Groovy (at this point)&quo= t;...

Cheers,
mg

This email message and any attachments are for the sole use of the intended= recipient(s). Any unauthorized review, use, disclosure or distribution is = prohibited. If you are not the intended recipient, please contact the sende= r by reply email and destroy all copies of the original message and any att= achments.
--00000000000015677a056e99b719--