Comments (5)
Funny you bring this up. After merging in the new broadphase pull request I had to fix a few <> syntax issues and had to replace List.sort (since 8) with Collections.sort. The <> syntax isn't a big deal. The sort replacement could be a big deal if they are different implementations. I haven't looked into though. In addition, a new method was added to the BroadphaseDetector class, technically breaking any implementations outside of dyn4j since we don't have access to default methods in 6.
I would even say 8 is too old now. Being able to support modules without the backward compatibility with 6 would simplify the build for sure and some of the new features would be really helpful.
Are you aware of any metrics that detail adoption by version by platform for example?
from dyn4j.
Sorry for the syntax leftovers, I actually didn't notice because I'm compiling with Java 11 ;)
I'll be more careful with that in the future. I think Collections.sort and List.sort are implemented in the same way. It's not like I used List.sort for some reason, I just forgot it was absent from Java 6.
I would say that Java 8 is too old as well, but I think a lot of people will continue using it for now. The only -somewhat recent- metric I found was baeldung-java-in-2018.
As of today Java 6 & 7 should have very few users; I think those are mostly in the realm of legacy applications and don't affect dyn4j's userbase.
from dyn4j.
As a plus, now that #54 is under review, default interfaces would be really helpful there. Each class that supports rotations needs to have 6 or 12 different implementations (depending if inverse rotations exist) while with default interfaces that can be done with 2 for all classes.
from dyn4j.
I have a request: The project I am working on, getting closer to its final release every day, relies on dyn4j, currently. Android (and unnamed ARM consoles) only support Java 8 source.
It would be nice if the current crucial bugfixes could be released as a stable build on Maven first, before migrating to Java 14 or whatever.
At the moment I use a branch of the latest source but other developers (including me) might seek for a stable working Java <=8 version at a later stage.
from dyn4j.
@TMIndust Understood. At this time there's no plans to changes the minimum version. The next version and probably the one after that will still support Java 6.
from dyn4j.
Related Issues (20)
- Reverse the body arguments for PrismaticJoint and WheelJoint
- Allow enabling linear upper and lower limits independently
- Add a spring offset to WheelJoint
- Prevent values from disabling features HOT 1
- Add maximum spring force/torque to DistanceJoint, WheelJoint, and WeldJoint
- Allow the PinJoint to work without a spring
- Add a spring-damper to PrismaticJoint
- Add angular limits to the WeldJoint when the angular spring is used
- Allow the definition of joints with an arbitrary number of bodies
- Remove the use of resource files for exception messages
- Warm starting check missing in WeldJoint
- Drop the getAnchor1 and getAnchor2 methods from the base joint definition
- Make all Joint default values the same for Motors and Springs
- Rename of a few Joint methods for consistency
- Enabled, tangent speed, and other properties of ContactConstraint are not preserved HOT 1
- The SolvedContact.isSolved method is not consistent
- Clean up methods in SequentialImpulses
- Store the bodies and fixtures directly on the CollisionData object
- Reduce the default solver iterations
- Various minor performance improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dyn4j.