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

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

内容简介: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]


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

查看所有标签

猜你喜欢:

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

Java程序员修炼之道

Java程序员修炼之道

[英] Benjamin J. Evans、[荷兰] Martijn Verburg / 吴海星 / 人民邮电出版社 / 2013-7 / 89.00元

本书分为四部分,第一部分全面介绍Java 7 的新特性,第二部分探讨Java 关键编程知识和技术,第三部分讨论JVM 上的新语言和多语言编程,第四部分将平台和多语言编程知识付诸实践。从介绍Java 7 的新特性入手,本书涵盖了Java 开发中最重要的技术,比如依赖注入、测试驱动的开发和持续集成,探索了JVM 上的非Java 语言,并详细讲解了多语言项目, 特别是涉及Groovy、Scala 和Cl......一起来看看 《Java程序员修炼之道》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具