Open slinkydeveloper opened 1 year ago
A starting point here https://how-to.vertx.io/graal-native-image-howto/ and here https://graalvm.github.io/native-build-tools/latest/gradle-plugin.html
A blocker to support graalvm is the protobuf classes support: https://github.com/restatedev/sdk-java/issues/125. There's this tool we could try https://github.com/ricantech/protobuf-graalvm-feature
If we get rid of gRPC/Protobuf official libraries completely, we also solve this issue. To do so we would need just our code generator for services, and we could use https://github.com/HebiRobotics/QuickBuffers for the protobuf library.
For the time being this is not high priority. Lambda users can use Lambda ColdStart for JVM to get good startup time.
Check SDK compiles using GraalVM native image.