Hi! Is it possible to create wrapper around Server...
# kotlin-native
m
Hi! Is it possible to create wrapper around Server Side Swift project? The idea is to write a backend in Kotlin but use swift NIO at runtime.
k
Ktor is for all network thingy https://ktor.io
n
Not much point in using Swift NIO when Kotlin is faster across the board than Swift with server performance ( https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=json&l=sutrsv-f ).
m
Thanks for the link @napperley but I'm looking to Swift for memory footprints. For a simple project, it's 30Mb for Vapor and 400Mb for ktor 😕 😞
n
Have you looked into using Kotlin Native for server development? There was some chatter a while back on porting Ktor Server to Kotlin Native via the linuxX64 target.