suresh
11/25/2024, 9:49 PMFilipp Zhinkin
11/26/2024, 4:36 PMByteBuffers
as a `kotlinx.io.Buffer`'s backing storage on JVM (mainly, for the sake of supporting Direct byte buffer). There's a chance something is still could be done here. That'll come with some changes in public API too.
A less clear direction of development is supporting charsets. Charsets are something worth having, but that's the only certain thing about that. 🙂Filipp Zhinkin
11/26/2024, 4:40 PMsuresh
12/02/2024, 7:26 AMAre there any particular scenarios for such an API yYes, using Kotlin/Native as an alternative to the K/JVM. We’re developing a deployment agent that should work on both Linux and Windows. We are planning to use Kotlin Multiplatform with Ktor (for WebSocket support). We’re interested in Kotlin/Native due to its smaller binary size, relatively faster startup time, and cross-compilation capabilities. As the Kotlin/Native ecosystem is less mature than the JVM’s, we may occasionally need to rely on native tools to accomplish specific tasks. A ProcessBuilder/exec-like API would serve as a fallback mechanism in such situations. It would be really helful to have such a fundamental API within kotlinx-io that supports all native platforms.