I'm relatively new to Kotlin Native, and to learn more about it, I am studying these two tutorials, one from the official JetBrains documentation and ...
I'm relatively new to Kotlin Native, and to learn more about it, I am studying these two tutorials, one from the official JetBrains documentation and ...
In Kotlin Native i have a CPointer to a struct. I need to add the address of a CFuncton to that pointer with an offset. Is this possible with kotlin n ...
This is a snippet from a C header for a Windows DLL that was generated by Kotlin Multiplatform/Native: typedef struct { struct { struct { ...
I'm learning Kotlin Multiplatform and am trying to migrate a toy project of mine that was originally written for JVM, to Kotlin Native. One thing I'm ...
When I use Kotlin Coroutines in a Kotlin/JVM project I can add the suspend keyword to the main entry of the program. import kotlinx.coroutines.* sus ...
How do I pass a value from Kotlin to C as an int* and receive the written value? The C function looks like this: The return value is just 1 or 0 in ...
I'm playing with Kotlin Native on my M1 Mac using IntelliJ IDEA 2022.3 Community Edition. (Build #IC-223.7571.182, built on November 29, 2022; Runtime ...
I have a little bit of a fight with Kotlin Native and the runtime. In short: I am building a jvmti agent, linking a dynamic library. Now I have follo ...
In a Kotlin/native project, gradlew build successfully builds the project, but emits the warning: Kotlin Multiplatform Projects are an Alpha featu ...
I am learning C Interop with Kotlin Native. I successfully imported my sample C program using .Def file and executed the code in kotlin So, I am thin ...
Reasoning I'm trying to include the Kotlin Native executables to lower the performance impact (in CPU time and in memory usage) of a part of my app s ...
The following Kotlin Native test code uses weak references and manual triggering of garbage collection in the hope of ensuring objects have been recla ...
I want to create a Kotlin project compatible with Android and Desktop. This project needs to bind to a C library. The way I understand it, I should c ...
I'm new to kotlin multiplatform, and I need to freeze an object as I'm still using the strict memory model. But I cannot solve this dependency on andr ...
I am unable to link a Kotlin-native binary with SDL2. Namely undefined references. I come from a c/c++/other native languages background. So I know e ...
When I use kotlin native to build android so, and I want to create Bitmap object in native, I do it by reflection : but when I call Bitmap.createBi ...
I have a problem with archiving(realising my app). I'm using the following dependency versions: Tried to change versions of Kotlin serialisation p ...
I am trying to implement the sieve of Atkin in Kotlin. I want it to support numbers up to 2^32-1, so the sieve must be a UInt-indexed array. I try to ...
For example, I know that there is CoreCrypto for kotlin native. How to modify kotlin gradle script so the following code compiles: My gradle script ...
I am trying to build a KMP library targeting iOS, Android, JS(Browser), Mac, Windows and Linux. For now I am only using Ktor and SQLDelight as a depen ...