TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kotlin 1.0 Release Candidate

43 点作者 miralabs超过 9 年前

1 comment

merb超过 9 年前
Too bad that 1.0 will ship without something like Scala Future&#x27;s. Now you can only have a similar functionality with CompletableStage. It would&#x27;ve been way better to actually have a similar implementation than scala.Future. I mean they wouldn&#x27;t need Quasar, Akka for basic stuff. However currently you need to stick to Java pendants.<p>Kotlin has some great things, but overall I still prefer Scala over Kotlin for anything not Android related.<p>I mean what I would&#x27;ve loved in 1.0:<p><pre><code> - specify Bytecode Level output 6, 7, 8, (9) - Futures - Macros (Big one especially for SQL Libraries really helpful) - Buildsystem supported by Jetbrains. - Support for all major Java Build Systems directly by Jetbrains </code></pre> However at the moment, kotlin feels like &quot;here we developed a language which we will use internally and we will do the stuff we need, for everything else, do what you please&quot;, while most languages do this, the newer ones actually coming with more stuff, ie. rust has a package manager, a build system (it only lacks libraries, where kotlin wouldn&#x27;t suffer, thanks to java), golang which has also something like a package manager and a build system and a rich library which has great support for &quot;threading&quot;.<p>i mean on kotlin you could use maven or gradle. however maven is like: &lt;dosomething&gt;&lt;&#x2F;dosomething&gt; ugliness. and gradle is okai, but it feels wierd sometimes especially since code highlighting in intellij always feels broken.<p>currently I&#x27;m way more looking forward at jetbrains c# project than on kotlin, kotlin needs to evolve and get some libraries for major stuff. (btw. i&#x27;m not totally against kotlin, however I thought 1.0 will bring a little bit more to the table, which actually has more than just &quot;faster&quot; compile times than scala, the jvm is rich and there a lot of great languages built on top of it (even python, ruby, js works on it))<p>Edit Actually this author also has a good point about the good and the bad: <a href="http:&#x2F;&#x2F;natpryce.com&#x2F;articles&#x2F;000815.html" rel="nofollow">http:&#x2F;&#x2F;natpryce.com&#x2F;articles&#x2F;000815.html</a>
评论 #11037784 未加载
评论 #11036535 未加载
评论 #11036744 未加载