-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baa643f
commit 262df3b
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
title: Kotlin 技术月报 | 2024 年 8 月 | ||
date: 2024-08-30 | ||
tags: [技术月报] | ||
--- | ||
|
||
为了帮助社区的小伙伴们更好地了解 Kotlin 相关的最新动态,我们决定使用月报的形式,整理展示最近一个月的 Kotlin 技术动态。 | ||
|
||
月报的主要内容包括:整理展示最近一个月的最新技术动态,精选博客,精选视频以及社区活动等方面的信息。 | ||
|
||
## 最新动态 | ||
### Kotlin 2.0.10 已正式发布 | ||
Kotlin 2.0.10 现已正式发布。2.0.10 版本是 2.0 系列的第一个错误修复版本,此版本的主要目标是修复 2.0.0 版本中发现的错误。有关更多详细信息,请点击下面的链接查看 GitHub 上的发行说明。 | ||
|
||
[https://github.com/JetBrains/kotlin/releases/tag/v2.0.10](https://github.com/JetBrains/kotlin/releases/tag/v2.0.10) | ||
|
||
### Kotlin 2.0.20-RC 已发布 | ||
[https://kotlinlang.org/docs/whatsnew-eap.html](https://kotlinlang.org/docs/whatsnew-eap.html) | ||
|
||
Kotlin 2.0.20-RC 版本也已经发布了,此版本的亮点主要包括: | ||
|
||
– Kotlin 语言方面:数据类的 copy 函数将具有与构造函数相同的可见性 | ||
- Kotlin 语言方面:Context receiver 被废弃,引入 context parameters 作为替代方案 | ||
– Kotlin/Native:垃圾收集器支持并发标记,提升 Kotlin/Native 运行时性能 | ||
– Gradle 改进:添加对 Gradle 8.6 到 8.8 版本的支持 | ||
|
||
### Context receiver | ||
|
||
|
||
## 精选博客 | ||
|
||
## 精选视频 | ||
### 从语言设计的角度看 Context parameters | ||
[Context parameters from the language design perspective | Anastasiia Nekrasova](https://www.youtube.com/watch?v=ZvnXLB4Gdig) | ||
|
||
Context parameters 是 Kotlin 最受期待的特性之一。去年,Kotlin 团队发布了一个初步版本,并收到了大量反馈。从那时起,Kotlin 团队一直在努力完善其设计。本视频概述了Context parameters 当前设计状态,具体包括以下内容: | ||
|
||
- 添加 Context parameters 背后的动机; | ||
- Context parameters 如何融入现有语法; | ||
- Context parameters 在实际应用中的例子。 | ||
|
||
![](https://raw.gitmirror.com/RicardoJiang/resource/main/2024/august/p11.png) | ||
|
||
![](https://raw.gitmirror.com/RicardoJiang/resource/main/2024/august/p12.png) | ||
|
||
## 社区活动 |