News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by conor- on Friday April 29, 2022 @04:25PM (#31210188)
With Go you can develop a web service with few to no external deps or frameworks, compile it into a single, static binary and then deploy it in a minimal distroless container.

With Java and C# there's a lot of other fuss involved with figuring out deployment. The code, build, test cycle is also much slower in C#/.NET ime. That's starting to improve a bit with the newer dotnet, but still feels behind other everything but the kitchen sink frameworks like Rails, which I would more compare C# to since C# without .NET/dotnet is uncommon.

Re:Lies we tell ourselves to keep using Golang by metaltyphoon on Saturday April 30, 2022 @03:12AM (#31214047)
Thats a lot of nonsense. The developer loop is way faster now in C# with the introduction of hot reload.

> fuss involved

The commands are almost the same from the go tooling, dotnet build , dotnet run, dotnet format, dotnet test…

Anything outside of hellow world for a web sevice in go, you will use a third party library while in .NET its given to you.

Re:Lies we tell ourselves to keep using Golang by kaba0 on Friday April 29, 2022 @05:36PM (#31210828)
Java can literally hot-swap classes, how does it have a slower code-build-test cycle? It also has possibly the best debug mode and observability.
Re:Lies we tell ourselves to keep using Golang by conor- on Friday April 29, 2022 @05:57PM (#31211037)
Sorry if it was unclear, I was specifically commenting about C# with regards to build, test, deploy cycle because I don't have much experience with Java. It's good to hear that it's not slow or cumbersome.