-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Kotlin actions #42
Comments
We already started work on Kotlin runtime, work under construction once is stable IBM will contribute to Apache OpenWhisk https://github.com/ibm-functions/runtime-kotlin |
Hmm, any reason why we'd build a specific Kotlin runtime vs. just using the Java one? |
I think the reason is that java actions don't need kotlin standard library and so to keep the java runtime and java action jar minimal a dedicated runtime (with kotlin-specific stuff bundled) is considered. |
There's really two reasons for having a specific Kotlin runtime:
|
This is also possible in Java, using e.g. Gson. Of course, java does not data data classes and so it's much more verbose. This should imho be definitely added to java runtime too.
Makes sense. |
Long time ago I came up with instructions on how to run Kotlin on the java runtime in OpenWhisk. Maybe we should add that stuff here?
See: https://github.com/markusthoemmes/openwhisk-kotlin
The text was updated successfully, but these errors were encountered: