How Fast Can You Java?
Originally published on 17 Jan 2024
Last updated on 17 Jan 2024
The Java Platform, over the years, has shown how resilient and reliable a development platform it is. Of course, as developers, we always want to see how fast we can execute our code. Well, now you have the chance to find out, or actually prove how fast Java is. Gunnar Morling, Software Engineer at Decodable has a very exciting Java warmup game for us all. He calls it the One Billion Row Challenge. Huh? Yup. Let's hear it from him.
"Your mission, should you decide to accept it, is deceptively simple: write a Java program for retrieving temperature measurement values from a text file and calculating the min, mean, and max temperature per weather station. Thereβs just one caveat: the file has 1,000,000,000 rows!"
At its heart, this challenge is a test of Java's true potential. You're tasked to leverage the core strength of Java Standard Edition, without any third-party libraries, to create the swiftest possible program for reading and processing this massive file.
The rules of the game are quite simple:
- Any submission must be written in Java
- Any Java distribution available through SDKMan as well as early access builds from openjdk.net may be used, including EA builds for OpenJDK projects like Valhalla.
- No external dependencies may be used.
Head over to his blog post linked above to see how to enter the contest. How far can you push vanilla Java SE with all the latest constructs like virtual threads added lately? Join in the fun and let's find out. There are already some incredible entries with mind blowing speeds on the leaderboard. Ready to show the world how fast you can Java? Let the coding begin! ππ©βπ»π¨βπ»
Related Posts
Virtual Payara Conference is this week! See the Agenda Highlights
Published on 09 Dec 2024
by Dominika Tasarz
0 Comments
Virtual Payara Conference - find out more and register here - is a two-day, free event that brings together industry leaders, developers, and innovators to explore the latest advancements and strategic insights in the world of Java and Jakarta ...
Join us for the London Java Community Unconference 2024
Published on 21 Nov 2024
by Dominika Tasarz
0 Comments