Is Kotlin suitable for Linux System Engineer / DevOps

kotlin · · 164 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi,</p> <p>I&#39;m working at a webhosting company which mainly use Go for internal tools. Do you have any feedbacks on using Kotlin is this area? With Kotlin/Native the last barrier of the JVM needed on our servers seems to be broken. I know that Kotlin/Native is in Alpha but it seems to be near the production release. Like JavaScript dev can do anything, from back to front, from Web to Desktop and Mobile apps, I would love to see a bright future for Kotlin like that, as a professional System Engineer and an amateur Android dev.</p> <hr/>**评论:**<br/><br/>meddlepal: <pre><p>Not very common, but not unheard of. I write a fair bit of internal systems tooling in Kotlin but I also use a healthy dosage of Python. I&#39;m not sure what to really call the phenomenon but so I&#39;ll call it the &#34;ecosystem effect&#34; is very strong with Python and Go in the ops and cloud-systems engineering spaces... there&#39;s just a ton of momentum already there in the form of existing projects and libraries that it is hard to justify using something else because you&#39;re often standing at the ground floor when everyone else is already thirty floors above you thanks to existing code.</p> <p>The requirement for a JVM to be shipped or installed along with the tools is a small but understated inconvenience at times. I&#39;m really interested in Kotlin/Native and Java&#39;s future AOT compilation for this reason. </p></pre>ArmoredPancake: <pre><p>You still need JRE to execute AOT Java, only start-up time will be affected. </p></pre>pjmlp: <pre><p>No you don&#39;t, only in OpenJDK&#39;s case.</p> <p>Since the early days of Java, the commercial JDKs have supported AOT compilation, just like other compiled languages.</p> <p>The problem is that many aren&#39;t aware of them, as they don&#39;t educate themselves about what is available in terms of Java tools.</p></pre>ArmoredPancake: <pre><blockquote> <p>OpenJDK</p> </blockquote> <p>That&#39;s what I meant, when he said he&#39;s looking for it in the future, means he&#39;s not interested in current solutions.</p></pre>pjmlp: <pre><p>I only see JVM there, which would imply any JVM implementation, just like when I write C or C++ I am not referencing to a specific C or C++ compiler.</p> <p>As for the future, I understand it as referring to Kotlin/Native.</p> <blockquote> <p>Hi,</p> <p>I&#39;m working at a webhosting company which mainly use Go for internal tools. Do you have any feedbacks on using Kotlin is this area? With Kotlin/Native the last barrier of the JVM needed on our servers seems to be broken. I know that Kotlin/Native is in Alpha but it seems to be near the production release. Like JavaScript dev can do anything, from back to front, from Web to Desktop and Mobile apps, I would love to see a bright future for Kotlin like that, as a professional System Engineer and an amateur Android dev.</p> </blockquote></pre>pjmlp: <pre><p>To be honest, I see Go wining this area, specially given its UNIX roots.</p> <p>Kotlin/Native is still an experiment and it will take years to match the performance and GC quality of both its JVM variant and other native languages.</p></pre>cantwedronethatguy: <pre><blockquote> <p>I see Go wining this area</p> </blockquote> <p>Am I the only one shocked to see Go quoted in a decent manner? I should quit <a href="/r/programming" rel="nofollow">/r/programming</a></p></pre>NeverComments: <pre><p>Even in <a href="/r/programming">/r/programming</a> it&#39;s not uncommon to see Go recommended for sysadmin/devops tools because of its benefits as a GC&#39;d language that produces static native binaries. </p> <p>In my opinion, the oft-cited criticisms for Go aren&#39;t really relevant to that type of work. It plays the same role as bash or python, letting anyone quickly write a script or utility and get it out the door. </p></pre>pjmlp: <pre><p>I am critical of some of their design decisions, but when it is getting used by devops teams around the globe, with IBM, Oracle, Amazon and Microsoft contributing to Go, it would be foolish not to acknowledge its adoption rate.</p></pre>blbil: <pre><p>Kubernetes is mostly written in Go.</p></pre>
164 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet