commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1406) official support for compiling on GWT 2.8
Date Sun, 02 Apr 2017 22:40:42 GMT

    [ 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)

Mime
View raw message