首页 > 解决方案 > Kotlin 原生编译时间

问题描述

我是 Kotlin Native 的新手,我刚刚做了一个“Hello World”,编译大约需要 4s,所以我有以下问题:

fun main() {
        print("hello world")
}
kotlinc-native SampleLinux.kt -o hello

顺便说一句,我使用的是 Ubuntu 20.04 / 16GB 内存 / iCore 5

谢谢

标签: kotlinkotlin-native

解决方案


推荐阅读