TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Alternative to Go

9 pointsby gnuralmost 5 years ago
With all the Go skeptics around on HN (not judging, just an observation), there must be a wealth of knowledge about similar (but &quot;better&quot;) languages.<p>What I like about Go is: - excellent standard and public libraries - fast compile times (hot reloading is awesome) - easy distribution by cross compiling binaries that have no dependencies<p>Is there anything that has similar developer ergonomics as Go?

8 comments

randombytes6869almost 5 years ago
Java meets your requirements. It gets a lot of shit but there&#x27;s reasons why its so widely used.<p>The standard libraries + community are larger than Go, you can find a library to do anything. Standard library is huge and mostly great.<p>Compilation time is a couple seconds even for huge projects. You can do automatic reloads using Gradle.<p>Its very cross platform, including one of the only good cross platform desktop UI&#x27;s.<p>You can build smaller binary distributions using JLink or a multitude of third party tools.<p>Single binaries are overrated. Any app that&#x27;s widely distributed uses an installer or package management anyways (brew,choco,apt)
评论 #23772260 未加载
评论 #23768476 未加载
评论 #23793263 未加载
dougbarrettalmost 5 years ago
I&#x27;ve been developing Go web applications for the past 7+ years, some services getting billions of hits a day, and still have more than a handful running on various platforms currently.<p>In the past few days, I&#x27;ve been playing around with Kotlin because a client of mine is wanting an Android app developed, so I figure this is a good opportunity to dive right in. I have experience with Spring Java as well, not as the primary dev of the project, but I&#x27;ve written enough code to be comfortable with the process.<p>After being impressed with the process of writing Android apps in Kotlin, I decided to jump into Spring Boot + Kotlin and have been nothing but impressed. It&#x27;s certainly different, but I&#x27;m feeling more productive than I was in Go because I can&#x27;t say there is anything quite like it available in Go. I&#x27;ve tried Buffalo, but kept running into issues, and my typical go-to stack is Echo for the framework and Gorm for the MySQL library, but even then I need to pick my own tools for auth and caching.<p>The build time is certainly something to be desired, but with one of the more basic apps I&#x27;m writing for a client right now, it takes just a few seconds to compile, so it&#x27;s certainly nothing to complain about at this point.<p>This is the tutorial I initially followed: <a href="https:&#x2F;&#x2F;spring.io&#x2F;guides&#x2F;tutorials&#x2F;spring-boot-kotlin&#x2F;" rel="nofollow">https:&#x2F;&#x2F;spring.io&#x2F;guides&#x2F;tutorials&#x2F;spring-boot-kotlin&#x2F;</a> and swapping out the h2 database for mysql was pretty straightforward, and I was pleasantly surprised to see that I was able to have the app automatically set up the DB structure for me, similar to how AutoMigrate works with gorm.
karmakazealmost 5 years ago
Perhaps Kotlin&#x2F;Native. I&#x27;ve only used Kotlin which is exceeds my minimum expressiveness level for a go to default.<p>I prefer F# but is trickier to set up and less well used&#x2F;documented&#x2F;discussed. OCaml might fit the bill.
评论 #23773575 未加载
mahaganapatialmost 5 years ago
Depends on the use case... I was going to write something in Go the other day since I hadn&#x27;t in a while, but instead it was easier to write a bash script.
Gibbon1almost 5 years ago
C# is a more mature and complete language than go. And always will be.<p>Microsoft also appears to be working towards support for gui support for macOS and linux.<p><a href="https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;introducing-net-multi-platform-app-ui&#x2F;" rel="nofollow">https:&#x2F;&#x2F;devblogs.microsoft.com&#x2F;dotnet&#x2F;introducing-net-multi-...</a>
评论 #23773539 未加载
评论 #23767750 未加载
aprdmalmost 5 years ago
C++ is becoming better and better adopting best practices from other languages. I get it comes with a lot of complexity but I don&#x27;t see it going anywhere.<p>Could be an alternative.
评论 #23788107 未加载
paktek123almost 5 years ago
Nim looks very promising
sigjuicealmost 5 years ago
What hot reloading? Aren&#x27;t you just restarting processes? That has nothing to do with Go.