红联Linux门户
Linux帮助

Kotlin M13发布,基于JVM的编程语言

发布时间:2015-09-25 21:32:59来源:红联作者:empast
Kotlin M13 发布,此版本更新内容如下:

Compiler daemon for faster compilation;

lateinit properties to support dependency injection and other frameworks;

sealed classes for expressing closed hierarchies;

Specifying and checking annotation targets;

Java get/set pairs are now seen as properties in Kotlin;

Better type safety for Java interop: taking @NotNull annotations into account (see this blog post);

Modifiers and annotations have been separated syntactically (see this blog post);

Fully functional reflection on classes, functions and properties;

Access to internal is now checked outside of a module (details below);

New .class file layout for top-level functions and properties;

and more (see below)

同时发布了 Kotlin Eclipse Plugin 0.3.0,此版本新特性:

Kotlin M13 支持

查找手册

参数提示

选择 enclosing/next/previous 元素

Override/Implement action

Body conversion intention

Debugger: Run to cursor

Debugger: Step into selection

性能提升

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

其主要设计目标:

创建一种兼容Java的语言

让它比Java更安全,能够静态检测常见的陷阱。如:引用空指针

让它比Java更简洁,通过支持variable type inference,higher-order functions (closures),extension functions,mixins and first-class delegation等实现。

让它比最成熟的竞争对手Scala语言更加简单。

软件详情:http://blog.jetbrains.com/kotlin/2015/09/kotlin-m13-is-out/#more-2502

下载地址:http://kotlinlang.org/#get-kotlin

来自:开源中国社区
文章评论

共有 0 条评论