Yesterday, I discovered the
Kotlin/Native Runtime for AWS Lambda by Viacheslav Ivanovichev and decided to give it a try.
I ended up creating a fully Kotlin/Native version of my Smart Home Alexa Skill:
https://github.com/stefanoltmann/smart-home-alexaskill-native
And what can I say? I'm genuinely impressed.
With the Java-based Lambda, processing a voice command like β_Alexa, turn off the bedroom lights_β typically took
3β5 seconds when cold (and
500 ms when warm). I always considered that normal and just lived with it for years.
Now, with the Kotlin/Native version, from a cold start it takes just
350 ms to process the command β and when warm it is down to
130 ms.
That's just awesome. π