5 ms·
> doesn't suffer from slow startup times that plague JVM languages Java ecosystem now has AOT compilation.
by okeuro49 3y ago
> doesn't suffer from slow startup times that plague JVM languages
Java ecosystem now has AOT compilation.
- maccard 3y agoWe have a golang service that we use for auth - it simply generates JWTs. Our main application is in kotlin. Our golang app starts up, binds a port, signs the jwt and shuts down before our kotlin app even hits our code.
- okeuro49 3y agoRather than keep on restarting your Kotlin app, you should run it as a server, then you'd also benefit from JIT compilation. Then it would serve requests at the same speed, if not faster, as your Go app.