Wishport is an asynchronous application library for Kotlin/Native, heavily inspired by Trio
for Python. It uses io_uring
for high-performance asynchronous I/O on Linux, and IOCP for
high-performance asynchronous I/O on Windows (support pending).
Wishport is a single-threaded, co-operative multitasking, and functional asynchronous library.
It is incompatible with kotlinx-coroutines
or libraries written for it.
Wishport can be added to your Kotlin MPP Gradle project like so:
repositories {
mavenCentral()
mavenLocal()
maven(url = "https://maven.veriny.tf")
}
kotlin {
sourceSets.getByName("commonMain").apply {
dependencies {
api("tf.veriny.wishport:wishport-core:0.7.0")
}
}
}
(Note: Wishport is not yet published.)
See the docs at https://wishport.readthedocs.io/.