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 5C5BD200C59 for ; Mon, 3 Apr 2017 00:40:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5ACE5160B9A; Sun, 2 Apr 2017 22:40:52 +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 A0972160B8E for ; Mon, 3 Apr 2017 00:40:51 +0200 (CEST) Received: (qmail 90289 invoked by uid 500); 2 Apr 2017 22:40:50 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 90278 invoked by uid 99); 2 Apr 2017 22:40:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2017 22:40:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4ECDFC0F1D for ; Sun, 2 Apr 2017 22:40:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NRY3enqvkxvV for ; Sun, 2 Apr 2017 22:40:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8330E5F642 for ; Sun, 2 Apr 2017 22:40:49 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CA709E08F6 for ; Sun, 2 Apr 2017 22:40:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 797F82401C for ; Sun, 2 Apr 2017 22:40:42 +0000 (UTC) Date: Sun, 2 Apr 2017 22:40:42 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1406) official support for compiling on GWT 2.8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 02 Apr 2017 22:40:52 -0000 [ https://issues.apache.org/jira/browse/MATH-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952877#comment-15952877 ] Gilles commented on MATH-1406: ------------------------------ bq. remove reliance on ClassCastException (obvious and uncontroversial) Are your referring to using exceptions for control flow? If so, I agree. bq. remove FastMath Is FastMath preventing the goal of this issue Anyways, it must certainly be a separate issue (to be linked to this one), to be raised on the "dev" ML. bq. less code to maintain so also good in my view Sure, but FastMath (perhaps not well named) is also supposed to give more accurate results. It should be assessed whether it is still the case. bq. replace clone() everywhere This is not obvious for me, sorry. In which way is "clone" a problem? Can you please provide a concrete example? In CM, the majority of uses is to duplicate an array. I'm wary of the _public_ "Cloner" class; at first sight, I'd think that it is better to define _private_ methods wherever needed. bq. I'm able and willing to help with any of that Thanks. bq. just decide what you would like If it were that simple ;) Please do start a discussion of the "dev" ML; examples of what _you_ want to achieve will be welcome (I'm not a JavaScript programmer!). > official support for compiling on GWT 2.8 > ----------------------------------------- > > Key: MATH-1406 > URL: https://issues.apache.org/jira/browse/MATH-1406 > Project: Commons Math > Issue Type: Improvement > Reporter: Michael Borcherds > Original Estimate: 168h > Remaining Estimate: 168h > > Context: at the moment Apache Commons Math can't be compiled using GWT (to allow it to be made into a JavaScript library for example) > http://www.gwtproject.org/ > Is there any interest in allowing Apache Commons Math to be officially supported on GWT? > With GWT 2.8.0 the changes needed aren't too hard to get most of it to compile > You can see the diff from 3.6.1 here: > https://github.com/murkle/commons-math/issues/1 -- This message was sent by Atlassian JIRA (v6.3.15#6346)