Serverless Kotlin with Fn Project by David Delabassee Kotlin is one of the fastest growing programming languages; it is used in the Android ecosystem and also is gaining traction in the enterprise world. So why not use Kotlin in the FaaS and Serverless space too?
Kotlin & Fn — A perfect combo?
Given its polyglot nature, Fn makes it very easy to write Kotlin based functions (“functions” as in FaaS).
Boostrap a Kotlin Function
To develop a Kotlin function, simply bootstrap it using the usual way with the Fn CLI (v0.4.129+), fn init —-runtime kotlin myfunc. This will create the required files to quickly get started. And obviously, all those files have a Kotlin flavor. Read the complete article here.
Back to top |