It's a commonly asked question in a world where every software developer wants to get the most out of every clock cycle their programs consume. It was also a topic at a Java "Birds of a Feather" ...
Turns out Java can do serverless right — with GraalVM and Spring, cold starts are tamed and performance finally heats up.
Here's what I've learned over 20 years of working with both C++ and Java (and more years before that with C++): As a rule of thumb, when you convert optimized C++ to Java, the code is about 3x slower.
Note that this project consists of multiple modules which currently have different Swift and Java runtime requirements. You'll need to install the necessary JDK ...