https://kotlinlang.org logo
#ktor
Title
# ktor
m

Miquel Àngel Román

10/05/2021, 8:33 AM
Can you use the kotlin native compiler to compile a server-side ktor app? (Assuming no java dependencies are used from the user-code)
b

Big Chungus

10/05/2021, 8:34 AM
Ktor itself depends on java apis, so no
🙏 1
m

Miquel Àngel Román

10/05/2021, 8:34 AM
That’s the answer I was looking for, thanks
b

Big Chungus

10/05/2021, 8:34 AM
Native ktor server is in the works, though
👍 1
You might have some success with graalvm native-image for now
m

Miquel Àngel Román

10/05/2021, 8:52 AM
thanks!
a

Aleksei Tirman [JB]

10/11/2021, 5:12 PM
Here is a feature request for a server implementation on kotlin native https://youtrack.jetbrains.com/issue/KTOR-746.
🙏 1