UniTime / cpsolver

Local-search based solver of Constraint Satisfaction and Optimization Problems
http://www.cpsolver.org
GNU Lesser General Public License v3.0
61 stars 35 forks source link

Update to Java 8 #10

Closed sundermann closed 6 years ago

sundermann commented 6 years ago

Java 8 is widely adapted now and should be the default on most machines. Java 8 brings useful features like lambda expressions allowing more precise and shorter code in some situations.

Is there any reason to stay at a language level of 1.6?

tomas-muller commented 6 years ago

Yes, there are a few:

1) There are still a lot of production environments running UniTime that are NOT using Java 8. And while Java 8 offers some language improvements, they break backward compatibility.

2) It is a lot of work and testing. And the language improvements are mostly cosmetic, they would not make run the solver any faster.