Wouldn't using Kotlin Native to develop desktop GUI be nice? Or in the future all GUI will be in Javascript?
o
olonho
03/27/2018, 6:45 PM
Cannot speak on the future, but in the present one may develop desktop GUI apps with K/N easily
n
napperley
03/28/2018, 9:51 PM
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
gildor
04/02/2018, 1:02 AM
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
napperley
04/02/2018, 1:51 AM
As I have discovered lately doing interop with C is not that straightforward when encountering corner cases (eg creating items via ncurses).
g
gildor
04/02/2018, 1:53 AM
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
olonho
04/02/2018, 6:44 AM
that's true, so writing ideomatic Kotlin wrappers around C libraries is the way to go