跳到正文
Hacker News· barteo·· 3 小时前AI 评分58

barteo 发布用 Go 编写的 Kotlin 编译器 kc,编译速度比 kotlinc 快 10 倍

Show HN: A Kotlin compiler written in Go, 10x faster than kotlinc

AI 导读

barteo 在 GitHub 发布用 Go 编写的 JVM Kotlin 编译器 kc,在 kotlinpoet、Ktor、kotlinx-coroutines-core 三个真实库上比热 JVM 中的 kotlinc 2.4.21 快 10 至 16 倍,内存峰值 85 至 118 MB,而冷启动 kotlinc 为 1.0 至 1.1 GB。

来源:Hacker News · github.com