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
Announcing Virtual Payara Conference - Powering High-Performance Enterprise Java Applications
Published on 24 Oct 2024
by Dominika Tasarz
0 Comments
We're super excited to announce the third edition of the Virtual Payara Conference! This December we will be focusing on Powering High-Performance Enterprise Java Applications.
- Strategic Insight - Wednesday 11th December 2024, 1-6:30pm GMT - ...
Join Live Webinar Series - Boost Your System Performance: Troubleshoot Faster & Cut GC Waste
Published on 07 Oct 2024
by Dominika Tasarz
0 Comments
We’re excited to invite you to two informative webinars happening later this month, which we're running in collaboration with yCrash.
During the first webinar, you will learn how to capture 16 essential artifacts that can dramatically ...