I have a list of questions that are reserved for t...
# kotlin-native
n
I have a list of questions that are reserved for the upcoming Kotlin Native webinar: 1. Is there anything in Kotlin Native that will make it easier to handle C libraries that heavily use RC (Reference Counting)? 2. Will any tools/libraries be made available for collecting/extracting meta data from KLibs? 3. Are there libraries available for generating Kotlin source code via Kotlin Native? 4. Is there going to be an option to turn off the Cyclic Collector GC and use Weak References instead? 5. What general performance improvements will be included in future Kotlin Native releases?
👍 2
2
d
What do you mean by C libraries using reference counting? Can you give an example library?
m
Gtk/gobject, I think
👍 1
n
Most of the GTK/GObject based APIs use RC. Ownership/scope info can be extracted via the GI Repository library ( https://developer.gnome.org/gi/1.56/ch01.html ), which is part of the GObject Introspection system ( https://gi.readthedocs.io/en/latest/index.html ).
d
Where do you read about webinar dates and times?
1
n
Video link to the scheduled webinar:

https://www.youtube.com/watch?v=k4G6AAR0Fds

o
Regarding 2. - there’s klib tool intended to manipulate with klib’s
k
I don't think you can do K/N memory management using weakrefs. Ref counting is what is normal for C++, ObjC, etc.
n
The KLib tool shows comments embedded in the element signatures, which prevents doing string parsing.
a
d
Ah, awesome! Anyone running into those blog posts should be welcome to link them in #feed, yes?