Wouldn't using Kotlin Native to develop desktop GU...
# kotlin-native
m
Wouldn't using Kotlin Native to develop desktop GUI be nice? Or in the future all GUI will be in Javascript?
o
Cannot speak on the future, but in the present one may develop desktop GUI apps with K/N easily
n
Surprised that easily was mentioned. Is there really a easy to use GUI lib/toolkit that works seamlessly with Kotlin Native without any major interop issues?
g
It shouldn’t be problem to interop with C. For me bigger problem is work with pure C GUI framework doesn’t looks as an easy thing, especially if you never did this before
n
As I have discovered lately doing interop with C is not that straightforward when encountering corner cases (eg creating items via ncurses).
g
I believe you, sure, but it can be solved maybe in the future versions of K/N (make sense to create an issue for K/N tho) But you cannot fix pure C API without writing own wrapper.
o
that's true, so writing ideomatic Kotlin wrappers around C libraries is the way to go