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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Can Kotlin Native be a possible contender for Go on server side?

4 点作者 lostPoncho超过 7 年前
I recently came across Kotlin. I understand JetBrains is betting big on it by sponsoring development for native targets. Also, I find the learning curve for Kotlin to be lesser than Go. But can Kotlin Native give the same performance as Go?

3 条评论

marktangotango超过 7 年前
The big open question I have about kotlin native is the gc story, i.e. How is it implemented? Neither boehms (libgc) or reference counting are adequate solutions imo. Last I knew go was in the process of moving to a generational gc, state of the art as in hotspot jvm.<p>Also, the multi process, thread, coroutine, async io scheduling story in go is very compelling. Java (and by association kotlin) has lots if async server frameworks, but seems doubtful you&#x27;d get that level of integration unless they target it.
Cieplak超过 7 年前
If you&#x27;re optimizing for performance, you might consider C++. That said, if you&#x27;re building software that accepts untrusted user input, there&#x27;s a learning curve for adhering to secure coding practices:<p><a href="https:&#x2F;&#x2F;www.securecoding.cert.org&#x2F;confluence&#x2F;x&#x2F;BgE" rel="nofollow">https:&#x2F;&#x2F;www.securecoding.cert.org&#x2F;confluence&#x2F;x&#x2F;BgE</a>
riku_iki超过 7 年前
Why regular JVM Kotlin is not good for this?