发布于 2017-06-28 01:21:01 | 169 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Kotlin 基于JVM的编程语言

Kotlin 是一个基于 JVM 的新的编程语言,由 JetBrains 开发。


Kotlin 发布了 Kotlin 1.2 的早期访问版,此版本默认使用先前 1.1.x 版本的实验性功能,在标准库中也可以预览新的 API。

完整的变更列表,点此查看

语言变更

  • 数组文字(Array literals),可在注解参数(annotation arguments)中使用

编译器

  • KT-6884 KT-17910 Support default values for functional parameters in inline functions

  • KT-15894 Change the way how singleton objects are initialized in order not to contradict JVM spec

  • KT-17929 Illegal smart cast was allowed after assignment in try block

标准库

  • KT-8823 MutableList.fill extension

  • KT-9010 MutableList.shuffle and List.shuffled extensions

  • KEEP-11 KT-9151 KT-10021 KT-11026
    chunked and windowed: extension functions to support
    partitioning collections into blocks of the given size and
    taking a window of the given size and moving it along the collection with the given step.

    pairwise extension to get all subsequent pairs in collection

  • KEEP-49 Additional operations and conversion extensions for BigInteger and BigDecimal

  • KT-16447 Make kotlin.text.Regex class serializable

IDE

  • KT-17164 Intention to convert *arrayOf() functions to array literals in annotations

JS

  • Typed arrays are turned on by default

此版本还包含对于 1.1.3 版本的修复和改进。

下载

发布主页



历史版本 :
Kotlin 1.2.21 发布,Bug 修复版本
Kotlin 1.2.20 发布:添加对 Gradle 构建缓存的支持
Kotlin/Native 0.5 支持在Swift, C和LLVM 5中使用 Kotlin
Kotlin 1.2 发布,实现平台间共享代码
Kotlin 1.1.60 发布,开始支持增量编译
Kotlin 1.2 Beta2 发布:显著提升编译器性能
Kotlin 1.2 Beta 版发布,基于 JVM 的编程语言
Kotlin 1.1.50 发布,基于 JVM 的编程语言
Kotlin 1.1.4 发布,改进对 Java 9 的支持
Kotlin 1.2 M2 发布,1.2 系列的早期访问版
Kotlin 1.2-M1 发布,1.2 系列的早期访问版
Kotlin 1.1.3 发布,初始支持 JDK 9
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务