Hi! Is there a web framework for kotlin native?
# kotlin-native
f
Hi! Is there a web framework for kotlin native?
b
As in wasm?
m
You probably know this already, but you can also use Kotlin/JS for JavaScript websites
b
But js is not native. Wasm is the only native web target i know of
m
Yes I know, I just wanted to mention it
b
For js there's #kvision , though
For wasm I'm working on #kvdom . Although it's still in early experimental stage
k
I’m guessing he maybe meant for server
b
Well he said web, for server there's ktor and for desktop apos libui and imgui kotlin bindings in progress
k
I’m just saying “web framework” maybe means server framework
b
Fair enough 😂
Server web framework just sounds ancient to me 😂
c
Your best bet for now is to use Ktor and GraalVM with AOT to get a native application,
👍 1
I would like something more like Rust or Go in the backend side.
Thank you!
n
There was some discussion about porting Ktor Server to Kotlin Native where it would be supported on some targets (eg linuxX64). Not sure what has happened since then in terms what the current status is.
Ktor Client is already available for the linuxX64 target but that won't be what the OP had in mind.
k
Ktor native server is planned for 1.4
f
\o/