Re: [Math] Java version

2015-01-16 Thread Phil Steitz
On 1/16/15 2:09 AM, Thomas Neidhart wrote: > On 01/16/2015 01:30 AM, Gilles wrote: >> On Thu, 15 Jan 2015 15:41:11 -0700, Phil Steitz wrote: >>> On 1/15/15 2:24 PM, Thomas Neidhart wrote: On 01/08/2015 12:34 PM, Gilles wrote: > Hi. > > Raising this issue once again. > Are we go

Re: [Math] Java version

2015-01-16 Thread Emmanuel Bourg
Le 16/01/2015 23:24, Ben McCann a écrit : > I vote Java 7. We haven't been able to upgrade all our infrastructure to > Java 8 yet because of a few issues. One of which could be fixed by someone > from Commons Dev cutting a new release of BCEL. The last one got voted > down, but I have a patch for t

Re: [Math] Java version

2015-01-16 Thread Ben McCann
I vote Java 7. We haven't been able to upgrade all our infrastructure to Java 8 yet because of a few issues. One of which could be fixed by someone from Commons Dev cutting a new release of BCEL. The last one got voted down, but I have a patch for the issues that blocked the release here: https://i

Re: [Math] Java version

2015-01-16 Thread Ole Ersoy
On 01/16/2015 09:08 AM, Gilles wrote: On Fri, 16 Jan 2015 15:16:16 +0100, Emmanuel Bourg wrote: Le 16/01/2015 13:20, Gilles a écrit : I'm interested to know more about this. Where can I find information? Do you have links? Sure, Andrew Haley from Red Hat announced [1] two years ago that Op

Re: [Math] Java version

2015-01-16 Thread Ole Ersoy
On 01/16/2015 03:09 AM, Thomas Neidhart wrote: On 01/16/2015 01:30 AM, Gilles wrote: On Thu, 15 Jan 2015 15:41:11 -0700, Phil Steitz wrote: On 1/15/15 2:24 PM, Thomas Neidhart wrote: On 01/08/2015 12:34 PM, Gilles wrote: Hi. Raising this issue once again. Are we going to upgrade the require

Re: [Math] Java version

2015-01-16 Thread Emmanuel Bourg
Le 16/01/2015 16:08, Gilles a écrit : > Any more recent updates on the "hopes" mentioned there? None that I'm aware of. I expect one when the end of public updates is reached for Java 7. > Did you notice how the global picture seems to change when "jdk" replaces > "jre" in the request? I guess

Re: [Math] Java version

2015-01-16 Thread Gilles
On Fri, 16 Jan 2015 15:16:16 +0100, Emmanuel Bourg wrote: Le 16/01/2015 13:20, Gilles a écrit : I'm interested to know more about this. Where can I find information? Do you have links? Sure, Andrew Haley from Red Hat announced [1] two years ago that OpenJDK 6 would still be supported, and

Re: [Math] Java version

2015-01-16 Thread Gilles
On Fri, 16 Jan 2015 10:09:02 +0100, Thomas Neidhart wrote: On 01/16/2015 01:30 AM, Gilles wrote: On Thu, 15 Jan 2015 15:41:11 -0700, Phil Steitz wrote: On 1/15/15 2:24 PM, Thomas Neidhart wrote: On 01/08/2015 12:34 PM, Gilles wrote: Hi. Raising this issue once again. Are we going to upgrade

Re: [Math] Java version

2015-01-16 Thread Silviu Burcea
Maybe nobody is interested to upgrade the Java version if they are not forced to. If nobody force them, then CM will have to support Java 6 even for 5.0 release. The sooner we drop support for older version, the better. I'd say that current and current - 1 versions(i.e. 7 and 8) are more than enoug

Re: [Math] Java version

2015-01-16 Thread Emmanuel Bourg
Le 16/01/2015 13:20, Gilles a écrit : > I'm interested to know more about this. > Where can I find information? Do you have links? Sure, Andrew Haley from Red Hat announced [1] two years ago that OpenJDK 6 would still be supported, and we can expect the same support for OpenJDK 7 in the future.

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-16 Thread James Carman
So, for places where you want to make use of streams, make your API take a Stream rather than a Collection or whatever, and require the user to choose whether to call parallelStream() or stream(). On Thu, Jan 15, 2015 at 5:41 PM, Phil Steitz wrote: > On 1/15/15 2:24 PM, Thomas Neidhart wrote: >>

Re: [Math] Java version

2015-01-16 Thread Gilles
On Fri, 16 Jan 2015 11:13:07 +0100, Emmanuel Bourg wrote: Le 15/01/2015 17:15, Gilles a écrit : I wonder: Isn't the "end of public updates"[1] (scheduled on April of this year for Java 7) somehow going to change that picture a lot? If not, why? That will not change much the current situation

Re: [Math] Java version

2015-01-16 Thread Emmanuel Bourg
Le 15/01/2015 17:15, Gilles a écrit : > I wonder: Isn't the "end of public updates"[1] (scheduled on April of > this year for Java 7) somehow going to change that picture a lot? > If not, why? That will not change much the current situation. Java 8 is already the default JRE proposed on http://ja

Re: [Math] Java version

2015-01-16 Thread Thomas Neidhart
On 01/16/2015 01:30 AM, Gilles wrote: > On Thu, 15 Jan 2015 15:41:11 -0700, Phil Steitz wrote: >> On 1/15/15 2:24 PM, Thomas Neidhart wrote: >>> On 01/08/2015 12:34 PM, Gilles wrote: Hi. Raising this issue once again. Are we going to upgrade the requirement for the next major re

Re: [Math] Java version

2015-01-15 Thread Gilles
On Thu, 15 Jan 2015 15:41:11 -0700, Phil Steitz wrote: On 1/15/15 2:24 PM, Thomas Neidhart wrote: On 01/08/2015 12:34 PM, Gilles wrote: Hi. Raising this issue once again. Are we going to upgrade the requirement for the next major release? [ ] Java 5 [x] Java 6 [x] Java 7 [ ] Java 8

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-15 Thread Phil Steitz
On 1/15/15 2:24 PM, Thomas Neidhart wrote: > On 01/08/2015 12:34 PM, Gilles wrote: >> Hi. >> >> Raising this issue once again. >> Are we going to upgrade the requirement for the next major release? >> > [ ] Java 5 > [x] Java 6 > [x] Java 7 > [ ] Java 8 > [ ] Java 9 > > A while ago I thoug

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-15 Thread Ole Ersoy
On 01/15/2015 03:24 PM, Thomas Neidhart wrote: On 01/08/2015 12:34 PM, Gilles wrote: Hi. Raising this issue once again. Are we going to upgrade the requirement for the next major release? [ ] Java 5 [x] Java 6 [x] Java 7 [ ] Java 8 [ ] Java 9 A while ago I thought that it wou

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-15 Thread Thomas Neidhart
On 01/08/2015 12:34 PM, Gilles wrote: > Hi. > > Raising this issue once again. > Are we going to upgrade the requirement for the next major release? > [ ] Java 5 [x] Java 6 [x] Java 7 [ ] Java 8 [ ] Java 9 A while ago I thought that it would be cool to switch to Java 7/8 for some of t

Re: [Math] Java version

2015-01-15 Thread Bruce A Johnson
I’m very happily starting to use Java 8 and am making lots of use of JavaFX (not so relevant to Math), and lambdas and streams (playing around with a little numpy like interface to Math). So, on the one hand I’m all for Java 8, but on the other hand there are things I’d rather see done for the M

Re: [Math] Java version

2015-01-15 Thread Ole Ersoy
How many of the mobile developers have to have a 4.0 release? I suspect that 90% would be fine using 3.4, and the remaining 10% can wire the results of the calculation using alternative means such as a REST or Socket service. Cheers, - Ole On 01/15/2015 11:32 AM, venkatesha m wrote: On

Re: [Math] Java version

2015-01-15 Thread Andy Seaborne
On 15/01/15 16:15, Gilles wrote: On Thu, 15 Jan 2015 07:52:11 -0500, Hank Grabowski wrote: Good call, Silviu! The most recent version of their survey of Plumbr installations (823 in total) was May of last year, only a few months after Java 8 came out (link below). At that time the break down w

Re: [Math] Java version

2015-01-15 Thread venkatesha m
On Thursday, 15 January 2015 10:45 PM, Gilles wrote: On Thu, 15 Jan 2015 12:05:27 -0500, Hank Grabowski wrote: > You would think so, but Java 6 hasn't been updated since early 2013 > and is > still a quarter or more of the installed Java base. The support for > highly > scalable parallel

Re: [Math] Java version

2015-01-15 Thread Hank Grabowski
As much as I would like to I'm very new to the Apache development universe. I've actually been involved through one release cycle and only as a contributor. I wouldn't mind working with a more seasoned person batting around ideas offline to then present to the group though. On Thu, Jan 15, 2015

Re: [Math] Java version

2015-01-15 Thread Gilles
On Thu, 15 Jan 2015 12:05:27 -0500, Hank Grabowski wrote: You would think so, but Java 6 hasn't been updated since early 2013 and is still a quarter or more of the installed Java base. The support for highly scalable parallel operations that the new Java 8 language features get is very temptin

Re: [Math] Java version

2015-01-15 Thread Gilles
On Thu, 15 Jan 2015 17:42:43 +0100, Luc Maisonobe wrote: Le 15/01/2015 17:15, Gilles a écrit : On Thu, 15 Jan 2015 07:52:11 -0500, Hank Grabowski wrote: Good call, Silviu! The most recent version of their survey of Plumbr installations (823 in total) was May of last year, only a few months af

Re: [Math] Java version

2015-01-15 Thread Hank Grabowski
You would think so, but Java 6 hasn't been updated since early 2013 and is still a quarter or more of the installed Java base. The support for highly scalable parallel operations that the new Java 8 language features get is very tempting though. Could we have a Java 8 branch on the core library a

Re: [Math] Java version

2015-01-15 Thread Luc Maisonobe
Le 15/01/2015 17:15, Gilles a écrit : > On Thu, 15 Jan 2015 07:52:11 -0500, Hank Grabowski wrote: >> Good call, Silviu! >> >> The most recent version of their survey of Plumbr installations (823 in >> total) was May of last year, only a few months after Java 8 came out >> (link >> below). At that

Re: [Math] Java version

2015-01-15 Thread Gilles
On Thu, 15 Jan 2015 07:52:11 -0500, Hank Grabowski wrote: Good call, Silviu! The most recent version of their survey of Plumbr installations (823 in total) was May of last year, only a few months after Java 8 came out (link below). At that time the break down was: Java 5 at 0.4%, Java 6 at 3

Re: [Math] Java version

2015-01-15 Thread Gilles
On Thu, 15 Jan 2015 09:32:25 -0500, Hank Grabowski wrote: If you are referring to default functions on interfaces, it's not going to be like multiple inheritance C++ style. Their rationale is to help for backwards compatibility with upgraded interfaces that add methods. Obviously it could be u

Re: [Math] Java version

2015-01-15 Thread Hank Grabowski
Actually conflict resolution on multiple default methods is a little more complicated (just fast forward to the 20 minute mark for the discussion on that): http://medianetwork.oracle.com/video/player/1113272518001 On Thu, Jan 15, 2015 at 9:32 AM, Hank Grabowski wrote: > If you are referring to

Re: [Math] Java version

2015-01-15 Thread Hank Grabowski
If you are referring to default functions on interfaces, it's not going to be like multiple inheritance C++ style. Their rationale is to help for backwards compatibility with upgraded interfaces that add methods. Obviously it could be used to intentionally provide default methods from the very beg

Re: [Math] Java version

2015-01-15 Thread Evan Ward
From an API perspective we can design a functional programming API in Java 7, it will just be more verbose than in Java 8. One unique feature that Java 8 does bring is multiple inheritance. Now that interfaces can have method implementations classes can inherit methods from multiple super classes.

Re: [Math] Java version

2015-01-15 Thread Hank Grabowski
Good call, Silviu! The most recent version of their survey of Plumbr installations (823 in total) was May of last year, only a few months after Java 8 came out (link below). At that time the break down was: Java 5 at 0.4%, Java 6 at 36%, Java 7 at 61% and Java 8 at 2.5%. I'm still looking for mo

Re: [Math] Java version

2015-01-14 Thread Silviu Burcea
I think Rebel Labs or Plumbr have some metrics about JDK usage. On Wed, Jan 14, 2015 at 10:21 PM, Hank Grabowski wrote: > Java 8 has only been out for less than a year. There is still a sizable > percentage of groups that have not converted up to Java 8 for myriad > reasons. While I was surpri

Re: [Math] Java version

2015-01-14 Thread Hank Grabowski
Java 8 has only been out for less than a year. There is still a sizable percentage of groups that have not converted up to Java 8 for myriad reasons. While I was surprised that we are requiring backwards compatibility with the ten year old Java 5 I think jumping all the way to requiring Java 8 ma

Re: [Math] Java version

2015-01-14 Thread Ole Ersoy
Converting an example from the user guide using Lambdas (Not an expert so bear with me - And note that the inputArray > inputStream): BEFORE: // Get a DescriptiveStatistics instance DescriptiveStatistics stats = new DescriptiveStatistics(); // Add the data from the array for( int i = 0; i < in

Re: [Math] Java version

2015-01-14 Thread Phil Steitz
On 1/14/15 4:38 AM, sebb wrote: > On 14 January 2015 at 08:18, Martin Grotle Soukup > wrote: >> Hi, >> >> My two cents in favour of java 8: >> >> IIUC the next major release will break backwards compatibility and aims to >> clean up the API. Taking a look at the release frequency of commons math >

Re: [Math] Java version

2015-01-14 Thread sebb
On 14 January 2015 at 08:18, Martin Grotle Soukup wrote: > Hi, > > My two cents in favour of java 8: > > IIUC the next major release will break backwards compatibility and aims to > clean up the API. Taking a look at the release frequency of commons math > [1], it shows releases every 9-12 months

Re: [Math] Java version

2015-01-14 Thread Martin Grotle Soukup
Hi, My two cents in favour of java 8: IIUC the next major release will break backwards compatibility and aims to clean up the API. Taking a look at the release frequency of commons math [1], it shows releases every 9-12 months (give or take). Given that the next big release is a major one (4.0),

Re: [Math] Java version

2015-01-13 Thread Gary Gregory
Java 7 or 8. Gary On Tue, Jan 13, 2015 at 8:31 PM, Gilles wrote: > Raising this issue once again. >>> Are we going to upgrade the requirement for the next major release? >>> >>> [ ] Java 5 >>> [ ] Java 6 >>> [ ] Java 7 >>> [ ] Java 8 >>> [ ] Java 9 >>> >> > Counts up to now: > > Java 7

Re: [Math] Java version

2015-01-13 Thread Ole Ersoy
I would love to see Java 8. Ole On 01/13/2015 07:31 PM, Gilles wrote: Raising this issue once again. Are we going to upgrade the requirement for the next major release? [ ] Java 5 [ ] Java 6 [ ] Java 7 [ ] Java 8 [ ] Java 9 Counts up to now: Java 7 -> 2 Java 7 or 8 -> 2 Java 8

Re: [Math] Java version

2015-01-13 Thread Gilles
Raising this issue once again. Are we going to upgrade the requirement for the next major release? [ ] Java 5 [ ] Java 6 [ ] Java 7 [ ] Java 8 [ ] Java 9 Counts up to now: Java 7 -> 2 Java 7 or 8 -> 2 Java 8 -> 2 Any more opionions? Gilles ---

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-11 Thread Luc Maisonobe
Le 08/01/2015 12:34, Gilles a écrit : > Hi. > > Raising this issue once again. > Are we going to upgrade the requirement for the next major release? > > [ ] Java 5 > [ ] Java 6 > [ ] Java 7 > [ ] Java 8 > [ ] Java 9 I would say 7 or 8. best regards, Luc > > ? > > Gilles > > > On Thu,

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-10 Thread James Carman
I wouldn't think you'd want to begin anything "new" using an EOLed version of Java. I'd go with at least 7. On Thu, Jan 8, 2015 at 6:34 AM, Gilles wrote: > Hi. > > Raising this issue once again. > Are we going to upgrade the requirement for the next major release? > > [ ] Java 5 > [ ] Java 6 >

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-10 Thread Phil Steitz
On 1/8/15 4:34 AM, Gilles wrote: > Hi. > > Raising this issue once again. > Are we going to upgrade the requirement for the next major release? > > [ ] Java 5 > [ ] Java 6 > [x] Java 7 > [ ] Java 8 > [ ] Java 9 Phil > > ? > > Gilles > > > On Thu, 8 Jan 2015 10:34:20 +, sebb wrote: >> I've

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-08 Thread Silviu Burcea
My clients started to use Java 7 a few months before, so I wouldn't choose Java 8. I know it's new and shinny and as a developer I'd love to play with it, but unfortunately, users are using it. I'd go for Java 7 and plan Java 8 for Math 5.0 On Thu, Jan 8, 2015 at 4:16 PM, Benedikt Ritter wrote:

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-08 Thread Benedikt Ritter
2015-01-08 13:57 GMT+01:00 Martin Grotle Soukup < martin.grotle.sou...@gmail.com>: > Hi, > > I am only a user of the library, but I would be excited to see CM take > advantage of the new features of java 8. > > Best regards, > Martin Grotle Soukup > > > 2015-01-08 12:34 GMT+01:00 Gilles : > > > Hi

Re: [Math] Java version (Was: [MATH] Jenkins build)

2015-01-08 Thread Martin Grotle Soukup
Hi, I am only a user of the library, but I would be excited to see CM take advantage of the new features of java 8. Best regards, Martin Grotle Soukup 2015-01-08 12:34 GMT+01:00 Gilles : > Hi. > > Raising this issue once again. > Are we going to upgrade the requirement for the next major relea

[Math] Java version (Was: [MATH] Jenkins build)

2015-01-08 Thread Gilles
Hi. Raising this issue once again. Are we going to upgrade the requirement for the next major release? [ ] Java 5 [ ] Java 6 [ ] Java 7 [ ] Java 8 [ ] Java 9 ? Gilles On Thu, 8 Jan 2015 10:34:20 +, sebb wrote: I've had to give up trying to get Continuum to use Git, so I set up a Je