Java is not slow

A language can’t be slow. Or how fast do you think English is?
And modern JVMs are highly optimized. Continue reading Java is not slow

Advertisements

Simple Animation Loop in Java

If you want to show some animation, maybe for a simple java game, then you need to render a certain amount of frames per second. For a smooth animation you want 30 to 60 frames per second. But sometimes the needed calculations need a bit longer so the delay until the drawing of the next frame needs to be shorter. For this an animation loop is needed. I have implemented a very simple animation loop for Java 8+ that can be paused and started.

Continue reading Simple Animation Loop in Java