Is there something I can read on what the K/N inte...
# kotlin-native
m
Is there something I can read on what the K/N internals look like and how much overhead is in the "header". Things like: is a Kotlin
CPointer
always 64bits in RAM or is it refcounted ? What's in the "header" ? refcount ? frozen state ? other ?
d
There's no friendly reading material for that yet. (Probably never will, considering the intended use case). You'll have to comb through the code for that information right now. (Or ask specific questions here).
m
Any chance you have a pointer to the C-struct source of a generic Kotlin object ? (if there is such a thing ?)
Basically the place where the refcount is
d
Yeah, I believe it's called
ObjHeader
.
👍 1
m