现代化的JVM语言 Kotlin v1.0.3发布

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/433cc3c79f034137a93c6e635baa7772.png" /></p>    <p>2010年,长达是十年之久的Java开发让JetBrains的工程师认为老旧的Java语言已经严重阻碍了生产力。他们认为是时候开发一款现代化的JVM语言了,这也是因为他们有足够的资源和专家。本身做各种IDEs起家的JetBrains就开始着手新工具的开发——一个编程语言。</p>    <p>Kotlin可以通过versa调用Java方法,源码可在同一项目中混合使用,甚至生成的.class文件完全兼容Java工具。JetBrains内部现在已经有一个超过20个开发人员的团队使用Kotlin开发。 目前已经有大量的开发人员使用Kotlin开发web服务后端和Android应用。</p>    <h2>更新日志</h2>    <p>1.0.3版本主要是bug修复,工具的改进和性能提升。<img alt="" src="https://simg.open-open.com/show/676f2b0afb2cf6d9129d5edb374ec4fd.png" /></p>    <p style="text-align: center;"><strong>系统全部更改日志和问题统计</strong></p>    <ul>     <li>New option <code>-jdk-home</code> to specify the JDK against which the code is compiled</li>     <li>Options to specify Kotlin language version (<code>-language-version</code>) and target Java version (<code>-jvm-target</code>) (will have effect in 1.1, added now for forward compatibility)</li>     <li>More efficient bytecode (no more iterator in <code>indices</code> loop, avoid unnecessary operations with<code>Unit</code>)</li>     <li>Various improvements to diagnostic messages</li>     <li>Autosuggestion for Java to Kotlin conversion for Java code copied from browser and other sources outside of the IDE</li>     <li>Language injection for strings passed to parameters annotated with @Language. Also predefined Java injections applied in Kotlin code. Read more about using language injections in the <a href="/misc/goto?guid=4958991839962369398">documentation</a></li>     <li>Completion now always shows non-imported classes and methods and adds imports automatically when they are selected</li>     <li>Smart completion works after ‘by’ and ‘in’</li>     <li>Move Element Left/Right actions work for Kotlin</li>     <li><em>Decompile</em> button is now available in Kotlin bytecode toolwindow and for .class files compiled with Kotlin</li>     <li>Now you can navigate from stacktrace to the call site of an inline function</li>     <li>Inspections and intentions to check and adjust Kotlin configuration in pom.xml files</li>     <li>Various Spring support improvements</li>     <li>更多日志见:<a href="/misc/goto?guid=4958991840063989661">ChangeLog.md</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958991840162131284" rel="nofollow"><strong>kotlin-compiler-1.0.3.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958991840258734240" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958991840350411355" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <h2> </h2>