How Fast Can You Java?

Uncategorized

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:

  1. Any submission must be written in Java
  2. 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.
  3. 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! 🚀👩‍💻👨‍💻

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

Related Posts

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise 9 minutes
Jakarta EE

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise

Organizations are increasingly interested in adopting artificial intelligence (AI) and generative AI (GenAI) to improve operations and offer next-generation […]

Payara Qube-Cloud Light banner 4 minutes
Security

Zero Trust Security in Enterprise Java: What it is and How to Implement it

Cybersecurity isn’t just about building walls, fortresses, moats or any other external barrier anymore. Nowadays, it’s important to check […]

4 minutes
Uncategorized

Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified

We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]