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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is the future of Go beyond tooling and cloud infrastructure?

4 点作者 p5v大约 2 年前
As someone who has spent the better part of the last 5 years working with Go, I can&#x27;t help but notice the waning enthusiasm in considering it for new non-cloud projects. There was a time when people would get excited about choosing Go for a new project, regardless of it being a CLI tool, a Web application, or some system-level infrastructure. Looks like all three are getting well-covered by Rust these days. On the other hand, good old stacks like Java and .NET are not sleeping either, and improving all the time.<p>All of this makes me wonder - where is Go actually heading? Not now, but in like 5 or 10 years? Will people be as excited in building new applications with it, or will it niche itself into &quot;that cloud and microservice thing&quot; made by Google that we have to maintain, because a few large projects decided to use it a decade ago?<p>What do you think? Do you see a bright future for Go, or is it more like &quot;it&#x27;s going to be more of the same&quot;?

4 条评论

tgv大约 2 年前
It depends on how schools adopt it. Python would never have been so popular, hadn&#x27;t the CS departments started using it as a tool for teaching the basics (to non-CS students). Now it&#x27;s ubiquitous. People build web servers in Python. They need 64 processors to keep the response time acceptable, but since nobody blinks an eye when the AWS bill comes in, I don&#x27;t expect Go to challenge Python any time soon.<p>I haven&#x27;t seen wide-spread adoption of rust, and frankly, it&#x27;s not an easy language to write performant, algorithmically dense code in. I tried sharing trees in a parser once, and it drove me crazy. The only solution was to wrap everything in Rc&lt;Cell&lt;T&gt;&gt; or to use numbers to index each node. I see rust settling in the low-level niche, but don&#x27;t expect it to grow rapidly. People still program IoT devices in C, so it looks as if rust is pearls for swines.<p>Anyway, Go can take up a good position in the lower layers of backend code. But the architect guild is not likely to wean off their dependency on ORM frameworks and other semi-magical stuff that Java offers, and Go doesn&#x27;t, so for the coming 10 years, I don&#x27;t see it making much inroad in enterprise software.
ainar-g大约 2 年前
&gt; There was a time when people would get excited about choosing Go for a new project, regardless of it being a CLI tool, a Web application, or some system-level infrastructure. Looks like all three are getting well-covered by Rust these days. On the other hand, good old stacks like Java and .NET are not sleeping either, and improving all the time.<p>YMMV, obviously, but in companies within my personal bubble Go is still the go-to (heh) tool for creating both CLI tools and all kinds of API services. These kinds of choices, in my experience, mostly boil down to what kind of personnel a company has at the time, as well as personal preferences of the tech leads. And while some of them do appreciate Rust, finding good Rust devs still seems harder than good Go devs.<p>&gt; Will people be as excited in building new applications with it, or will it niche itself into &quot;that cloud and microservice thing&quot; made by Google that we have to maintain, because a few large projects decided to use it a decade ago?<p>I love Go, and has been working with it for about ten years now, but I don&#x27;t think it was ever an “exciting” language, once you remove the initial hype. Go has always been reductive and boring, and that has always been its greatest strength (and, in the eyes of many, its greatest weakness). You&#x27;ve mentioned Java and .NET, and I feel like Go has almost entered that company of languages. Boring technology, with good tooling and lots of libraries, supported by large corporations, that can deliver results within predictable time scales.<p>So if I had to predict the future of Go based on the current trends, I&#x27;d say it&#x27;s almost definitely “more of the same”, which is, in a way, the “bright future” for the language. The tooling is going to be improved. The type system is going to get improvements too, but very slowly (my personal prediction is that we&#x27;ll get sum types around 1.22–1.24; long overdue, imo). The stdlib is going to be expanded to accommodate these changes. Nothing exciting, but that&#x27;s how a lot of people want it.
sacado2大约 2 年前
It&#x27;s a great sysadmin tool, and great to write servers. It can be used for many other things obviously, but that&#x27;s clearly its niche. And there&#x27;s nothing wrong in being a niche language, after all, if the niche is big enough (and it clearly is). Javascript is also a niche language, after all. It&#x27;s mostly a web language, and there&#x27;s nothing wrong with that. So is C, which is slowly becoming the ultimate low-level glue language.
daviddever23box大约 2 年前
Please describe what is meant by &quot;waning enthusiasm&quot;, and how that figures into project fitness for purpose.<p>In general, though I use Go daily, I also see significant benefit to learning Rust, and applaud Microsoft&#x27;s efforts to support it within a Windows context. That said, I see them as both complementary options AND distinct tool choices within a systems context.