Is anyone running a fully native Kotlin server yet...
# kotlin-native
m
Is anyone running a fully native Kotlin server yet? If so then where and what's the experience (performance, stability, ease of development & deployment)?
b
What do you mean by server? As in backend API of some sorts (think REST or SOAP)?
o
this server instance https://github.com/Kotlin/kotlinconf-spinner/blob/master/httpserver/src/hostMain/kotlin/server/HttpServer.kt is running for couple years on AWS instance without problems
👍 1
n
This line
import platform.posix.*
makes it obvious that the server program is native 😉 .
Is the kjson library (used in the program) the Kotlin Native equivalent to Jackson ( https://github.com/FasterXML/jackson )?
Can't find the kjson library anywhere via google. Is there a website for the library?
b
It's just another module in the same repo. Have a look at the build.gradle dependencies.
g
kjson is a simple Kotlin wrapper for jansson (c lib for Json) Now for Json make sense to use kotlinx.serialization
👆 1
m
Thanks @olonho! @Big Chungus yes, http server. But non-http for background processing is also interesting :)