Kotlin 1.3 RC 版发布:迁移你的 coroutines 程序吧!

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Kotlin 1.3 RC 版发布了,这是 1.3 的最新预览版和候选版,更新内容主要包含与新语言功能相关的关键错误修复,值得注意的变化包括: Ktor is wrapping up its API and looking forward to your feedback. Ktor i...

Kotlin 1.3 RC 版发布:迁移你的 coroutines 程序吧!

Kotlin 1.3 RC 版发布了,这是 1.3 的最新预览版和候选版,更新内容主要包含与新语言功能相关的关键错误修复,值得注意的变化包括:

  • Ktor is wrapping up its API and looking forward to your feedback. Ktor is a framework for building web applications, HTTP services, mobile and browser applications. It’s elegant, asynchronous and built on coroutines.

  • The official code style is now used for all new projects. We also encourage you to migrate old projects to the official style.

  • The main entrypoint can now take no parameters and also can be a suspending function.

  • Experimental support for scripting introduced in version 1.2.50 has been reworked and improved.

  • An experimental kotlinx.serialization plugin has been merged to the main Kotlin project. Now it’s a bundled compiler plugin.

  • There are new deprecations in the standard library, as well as errors for some old deprecations.

  • Annotations in the org.jetbrains.annotations package were extracted from the standard library to separate artifacts.

此外,Kotlin 1.3 协同程序已达到稳定状态。现在是使用旧的实验协同程序进行迁移库的好时机,官方也提供了 工具 帮助我们迁移代码。详情请查看发布说明。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

HTTP权威指南

HTTP权威指南

David Gourley、Brian Totty / 陈涓、赵振平 / 人民邮电出版社 / 2012-9 / 109.00元

超文本转移协议(Hypertext Transfer Protocol,HTTP)是在万维网上进行通信时所使用的协议方案。HTTP有很多应用,但最著名的是用于web浏览器和web服务器之间的双工通信。 HTTP起初是一个简单的协议,因此你可能会认为关于这个协议没有太多好 说的。但现在,你手上拿着的是却一本两磅重 的书。如果你对我们怎么会写出一本650页 的关于HTTP的书感到奇怪的话,可以去......一起来看看 《HTTP权威指南》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具