JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
726 stars 104 forks source link

Java 8 Language features #328

Closed JT122406 closed 1 year ago

httpdigest commented 1 year ago

Please do not use Java 8+ language features or Java 8+ JRE classes/methods, because JOML should have as low of a runtime requirement as possible (being a simple linear algebra library). IMO there is little use in making use of lambda expressions in JOML's code base. Actually, right now, the minimal necessary Java Runtime Version ist 1.2, because of two things:

The only reason the current compile target version is 1.8, is that (sadly) newer JDK versions cannot target 1.6 anymore and with 1.7 we get a deprecation warning, and the Kotlin compiler also cannot target < 1.8.

But IMO there is no real apparent need for having 1.8 language or runtime/classlibrary features in JOML right now.

I am sorry for not having properly announced/documented this.

JT122406 commented 1 year ago

All good I do think the Fix Raw use of parameterized class warning would be a good one to have in if you'd like