Is there a web framework for kotlin native
Asked Answered
P

2

8

I want to create an app exposing a web server with a REST API in Kotlin Native, but I can't find any recent project or lib. There's kwang but it doesn't seems to be maintained anymore and it depends on another C library.

Precedency answered 19/11, 2019 at 21:57 Comment(0)
U
5

Ktor 1.4 (WIP) will support Kotlin/Native as a Server .

https://github.com/ktorio/ktor/issues/571#issuecomment-562118651

Kotlin/Native is Beta for now , so There is a long way to go

Unlay answered 28/6, 2020 at 22:17 Comment(1)
as of ktor:1.5.3 native is only supported for ktor-clientGammon
I
-2

Yes! Alpas - it's a newer framework and is inspired by the Laravel framework for PHP. Out-of-the-box, it will get your rolling with databases and authentication.

Inosculate answered 22/3, 2020 at 1:22 Comment(2)
Well, it's not kotlin native compatible, it still requires Java to run.Precedency
Yes. Run's as a fat jar and requires JVM/JRE... Would love to have a real native solution.Counterman

© 2022 - 2024 — McMap. All rights reserved.