当前位置:网站首页>Kotlin 1.7.0 has been released, introducing the new kotlin К 2 compiler
Kotlin 1.7.0 has been released, introducing the new kotlin К 2 compiler
2022-06-10 09:24:00 【Open source China Information】
Kotlin 1.7.0 already Release La . The new version introduces a new Kotlin/JVM K2 Compiler Alpha edition , Stabilized language features , And for JVM、JS and Native The platform brings performance improvements .
The following are the major updates to this release :
- new Kotlin К2 The compiler is now in Alpha Stage , It provides significant performance improvements . It only applies to JVM, Include kapt It is not available to all compiler plug-ins including .
- Gradle A new method of incremental compilation in . Incremental compilation is now also supported in dependent non Kotlin Make changes in the module , And with Gradle compatible .
- It's stable Added optional requirement notes 、 Absolutely non nullable type and The builder infers .
- Now there is a be used for args Underscore operator of type . You can use it when specifying other types Automatically infer parameter types .
- This version Allow to delegate (delegation) Implement the inline value of the inline class . You can now create lightweight wrappers that do not allocate memory in most cases .
Read here Kotlin 1.7.0 New features in Complete change list .
Other content :
边栏推荐
猜你喜欢

Method of adding status bar in MFC window
![Wechat applet component observers [listener] uses this to report an error undefined](/img/4e/8bf7f30f6741312769bb74c7a2d057.png)
Wechat applet component observers [listener] uses this to report an error undefined

10 revelations from the success of digital transformation

Thinking about function declaration

LeetCode琅琊榜第十八层-两数之和(查找表法)

分享|数字孪生交通应用(附PDF)

Redis的配置优化

Win11 installing pandoc

The pipelineexecute pipeline execution process of VTK learning

想做钢铁侠?听说很多大佬都是用它入门的
随机推荐
Kotlin 1.7.0 已发布,推出新的 Kotlin К2 编译器
Zotero beta 6.0版本安装后,无法使用内置pdf阅读器的问题解决
HP 笔记本电脑 - 笔记本电脑睡眠后如何唤醒
悬赏任务源码开发设计构建时,要留意哪些事项
Textstudio displays line numbers and does not check spelling settings
Latex基本语法备注
After Zotero beta 6.0 is installed, the problem that the built-in PDF reader cannot be used is solved
How knowledge atlas, graph data platform and graph technology help the rapid development of retail industry
Inspiration de la transformation numérique d'Alibaba
powerdesigner物理数据模型导出的SQL文件,执行时报错?
Task04: set operation
在 Kubernetes 中基于 StatefulSet 部署 MySQL(下)
Wechat applet component observers [listener] uses this to report an error undefined
Share the 2022 China supply chain digital upgrading industry research report (PDF attached)
ES6新特性class类
How to open an account for your own stock trading? Is it safe?
The 21st layer of leetcode Langya list - numbers that only appear once
Leetcode Langya list level 20 - binary sum
Simple creation of database views, indexes, stored procedures and triggers
CString string splitting function