Kotlin 路线图
关于路线图有以下几点注意事项:
- 描述了团队正在投入的主要领域。
- 这不是团队正在做的所有事情的详尽清单,只列了重要的项目。
- 这里没有在指定版本中交付指定特性或修复的承诺。
- 列出了一些被推迟并且团队在不久的将来不会关注的事情。
- 没有什么是一成不变的,我们会随着进展调整事项的优先级,并且大约每三个月更新一次路线图。
如果对路线图或者其中某些点有任何问题或反馈,请随时发布到 或者 Kotlin Slack(获取邀请)的 频道中。
这个路线图的目标是给出一个大的图景。这里列出了主要优先事项——我们投入精力最多的领域:
- 快速流转:让“变更-测试-调试”周期非常快。
- 新版编译器:重写 Kotlin 编译器,针对速度、并行性与统一性进行优化。晚些还会研究插件化。
- 快速流畅的 IDE:改善 Kotlin IDE 的稳定性与性能。
- Kotlin 用于 JVM 服务器端开发:在整个 Kotlin 生态系统中扩展对服务器端使用场景的支持。
- Kotlin 多平台移动端:改善在移动平台上共享代码的用户体验与特性集。
以子系统划分的 Kotlin 路线图
下表介绍了我们正在从事的重大项目。
子系统 | 当前聚焦 | 推迟后续 |
---|
语言 | 支持 JVM 的记录 (KT-42430) 支持 JVM 的密封类 () Release inline classes as stable, secure Valhalla compatibility (KT-42434) Prototype multiple receivers ()
| |
编译器核心 | | |
Kotlin/JVM | | |
Kotlin/JS | | |
Kotlin/WASM | | Note: Wasm support in (through LLVM) will be deprecated and removed |
Kotlin/Native | Provide binary compatibility between incremental releases (KT-42293) Improve compilation time () Runtime performance: improve object allocation times (KT-42295) Prototype a new garbage collector () Improve exporting Kotlin code to Objective-C (KT-42297)
| ⏸ Support ARM Mac & Catalyst () (KT-39833) () ⏸ Direct interoperability with Swift ⏸ Interoperability with C++ ⏸ Support Alpine Linux (KT-38876)
|
Kotlin 多平台 | KMM plugin: Fix major bugs () KMM plugin: Run common tests on Android devices (KT-42298) Improve dependency management for iOS ()
| |
IDE | Improve IDE performance (KT-42304) Prototype IDE plugin with the new compiler frontend () Move the Kotlin plugin to the IntelliJ platform development infrastructure (KT-42308)
| Note: Kotlin support for VSCode or other IDEs is not on the roadmap for the Kotlin team. Community initiatives in this respect are welcome. |
构建工具 | Improve incremental compilation performance in Gradle () Support the Gradle configuration cache (KT-42310) Decrease time for opening Gradle projects ()
| |
库 | Support extension in the standard library (KT-42436) Make multiplatform kotlin.text API locale-agnostic by default () Improve usability of multi-threaded coroutines library for Kotlin/Native (KT-42314) Improve library () Improve kotlinx-serialization (release v1.1) (KT-42316) Improve (release v1.4) ()
| ⏸ kotlinx-cli ⏸ ⏸ kotlinx-io
|
Ktor | | |