跳到正文
原文
Hacker News Show HN· barteo·· 3 小时前AI 评分57

用 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 三个真实库上比预热 JVM 中的 kotlinc 2.4.21 快 10 到 16 倍,内存峰值 85–118 MB,而冷启动 kotlinc 需 1.0–1.1 GB。

来源:Hacker News Show HN · github.com