# KotlinNative-libuv-bindings **Repository Path**: dream-lab/kotlin-native-libuv-bindings ## Basic Information - **Project Name**: KotlinNative-libuv-bindings - **Description**: No description available - **Primary Language**: Kotlin - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-26 - **Last Updated**: 2022-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # KotlinNative-libuv-bindings Jetbrains kotlin native libuv bindings example. LibUV is primarily designed for node.js as it's network and I/O, timer and schedulers, great for I/O bounded works, kotlin native is cross platform native version of Jetbrains kotlin built on top of LLVM back-end compiler and we don't need a vm for running kotlin programs anymore, kotlin native won't offer any platform specific standard libraries like file system access, network I/O, timer etc, we need to call a operation system's native functions for perform a simple file system access (for example read or write file, create or delete a directory etc), network and also Os specific abstraction is hard to implement (you need to call win32 api on windows, posix api on Linux and macOS and bionic-clib on Android on kotlin native) this is a simple example that demonstrates how to calling complex (pass kotlin method to c as callback) libuv c api in kotlin native, this project is written on Linux platform but you can run this on any of other platforms but libuv needed to recompile for your target platform from it's source code. Updated by مۇختەرجان مەخمۇت At: 2022 8-سېنتەبىر، پەيشەنبە 6:45 چۈشتىن كېيىن