commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/MATH-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952826#comment-15952826
] 

Michael Borcherds commented on MATH-1406:
-----------------------------------------

Just tried RNG 1.0, it already compiles fine with GWT 2.8.0 (no problems with FastMath, ClassCastException
or clone())

The 3 major changes needed to apache math are:
* remove reliance on ClassCastException (obvious and uncontroversial)
* remove FastMath and rely on native implementations (less code to maintain so also good in
my view) 
* add implementations to replace clone() everywhere (a bit boring to do, would need testing)

I'm able and willing to help with any of that, just decide what you would like :)

> 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