By the way Nikolay, I did some digging and I could...
# kotlin-native
j
By the way Nikolay, I did some digging and I couldn't really see what you were getting at with the answers to my no operating system compilation. Most of the codebase seems to need some sort of libc, so if I were to build a microkernel that exposed some libc calls I could bootstrap k/n from that?
m
You did not explain why zephyr is not suitable for you, but zephyr is microkernel - 10Kbytes, compared ti stdlib - 300Kbytes.
o
Practically, our libc deps are very minimal, as could be seen in WASM port, as sprintf and malloc could be used from inside the repo. See https://github.com/JetBrains/kotlin-native/blob/master/runtime/src/main/cpp/Porting.cpp for porting layer details.
j
@msink Because I want to write my own kernel / OS
m
It is impossible, Kotlin is not system level language.