In my opinion this has almost nothing to do with the language. Most applications are IO bound not CPU bound, so the majority of the time your application will do "nothing". And as others pointed out, these numbers are without context pretty useless. Answer from Deleted User on reddit.com
🌐
Reddit
reddit.com › r/golang › when is .net more performant than go?
When is .NET more performant than Go? : r/golang
October 20, 2024 - Golang is pretty mediocre. It has ok code gen, but not great. The performance aspect of design is pretty good (e.g. structs are inlined), but it is also pretty limited for perfomance-wise goodies. ... Yeah, no, the benchmark for .NET is a manipulation: https://dusted.codes/how-fast-is-really-aspnet-core And Java in particular beats .NET hands down in that benchmark.
🌐
Reddit
reddit.com › r/csharp › .net core vs. golang server costs?
r/csharp on Reddit: .NET Core vs. Golang server costs?
September 26, 2023 -

I often hear that Golang is such a fast language that server costs strive for zero. I was especially stunned when saw Ben Davis's GoLang Review video, where he stated that server costs for his new startup with 'tens of thousands users' (source: https://youtu.be/kUoPdQwyABA?si=d8aCXjTOY4B42uEi&t=204) VIDEO LINK WITH TIMESTAMP WHERE HE SHOWS HIS CLOUD PROVIDER DASHBOARD, NOT PROMOTING ANYONE barely exceed 3 dollars. I did really like that because I am planning on building an app to try my skills and I would very appreciate it if server costs would not exceed a couple of dollars. That sounds like a miracle, but I guess that's why Golang is so popular.

So, my question for the .NET community is - how much worse would be my server billing if I choose .NET Core? I am planning on building an application using htmx + razor pages as a template engine, just because I found it interesting to play with htmx and I do not know javascript and do not really want to. In Golang that would probably be core html/template package?

Keep in mind please that I am living in one of the poorest countries in Europe and even a couple of dollars matter, especially when your project is non-profit.

🌐
Reddit
reddit.com › r › golang › comments › 6uoybi › go_vs_net_core
r/golang - Go vs .NET Core
August 19, 2017 - I see no reason the author used Iris instead of net/http directly. 14 · Reply · ShareReportSaveFollow · level 2 · · 5 yr. ago · Because the article author IS kataras, have a look. 3 · Reply · ShareReportSaveFollow · level 2 · · 5 yr. ago · gmgolang = kataras · 2 · Reply · ShareReportSaveFollow · level 2 · · 5 yr. ago · Because the author is the author of Iris if my memory serves me right. 18 · Reply · ShareReportSaveFollow · Continue this thread · r/golang ·
🌐
Reddit
reddit.com › r/golang › go over .net/c#, why?
r/golang on Reddit: Go over .Net/C#, Why?
November 11, 2016 -

Looking for a convincing story to choose Go over .Net for "anything". Yes Go has a great concurrency model - the present state of concurrency/async/etc is not too shabby in .Net. Yes Go has great tooling - like it or not, Visual Studio is pretty damn good, and with the right setup you can be very efficient. I've built some decent CLI tools in Go, but I can do the same in .Net, perhaps not deployed in a single binary (unless you go the route of ILMerge), but still. Roughly equivalent and I can use F# if I want a more functional experience.

I'm asking this sincerely as someone who is trying to convince himself that there is value investing valuable time in Go in the future. I'm always learning new languages and there is major value in just the learning aspect alone. That said, given the current and planned future state with .Net (Core, cross platform, etc), why would you pick Go over .Net?

🌐
Reddit
reddit.com › r/golang › what's the advantage of golang instead of java or c# in industry?
r/golang on Reddit: what's the advantage of golang instead of java or C# in industry?
March 18, 2021 -

I'm a student majoring in in CS and I'm interested in golang and learn it a little bit but I don't know what's the real advantage of it.

I think C# or java has better a framework now (for example Spring in java) and speed is fast enough.

and golang's orm isn't good so far.

If you guys work for company and use golang now, I want to know why you choose it.

** recently golang is frequently used in blockchain instead of C++. why?

Top answer
1 of 28
218
Go is nothing but Google's teaching from Java and C++. If you're majoring in CS, the language doesn't matter that much. But if you're working with industrial code in Java, C++ or even C#, you'll notice that code complexity increases over time due to the language design: Inheritance can lead to an absolute mess. In fact, a friend of mine quit his job partly because of overused inheritance in a legacy project. This is why Go favors "composition over inheritance". Those languages confuse repetition with safety. There's literally no point of writing FileReader fileReader = new FileReader();. Go addresses this issue with type inference, less keywords and by encouraging developers to indicate the scope of a variable with its length. Sure, the other languages mentioned have type inference as well, but there are orgs where you're not allowed to use it. :-) Especially Java uses layers and layers of abstraction, mostly introduced by frameworks like Spring. This is quite handy if you have a large team that just wants to add new features without having to wrap their heads around Dependency Injection, but debugging isn't that much fun and it obfuscates the control flow. By reducing abstractions to a minimum and providing a sane standard library (removing the need for monolithic frameworks), Go tries to gain back control. Compile times of 20, 30 or even 40 minutes are nothing unheard of. It is a pain, and it is a productivity killer - so Go favors compile times of 2, 3 or 4 seconds. Rob Pike did a great talk on his intentions when designing Go: "Public, Static, Void"
2 of 28
76
In my opinion, the major selling point of Go vs. Java and C# is running cost. Let me explain further in points form: Go consume very minimal memory. My web service run about 10MB to 20MB max. I can just use the cheapest VM available, e.g. 3.5USD AWS Lightsail and still have the resource to run other things in the same VM. This is one of the reason why Go is very popular in third world country like Indonesia and China because they can save a lot of money. At the same time, Go benchmark usually tops C# and Java (except against vert.x). Simple concurrency model that most people can understand. You don't have to hire experienced .NET or Java developer to maintain your code. Go build very fast, so if you're using build agents (e.g. Azure Dev-ooops), your build agent running cost will be very low and you don't have to deploy VM with crazy spec to back your build agent. Also, tests usually complete significantly faster compare to the equivalent Java/C# project, which again further reduce the cost of your build infrastructure. In summary, I'm poor and Go is the best tool for poor people like me without having to go through the pain of learning C++/Rust.
Find elsewhere
🌐
Reddit
reddit.com › r/golang › equivalent for asp.net core?
r/golang on Reddit: Equivalent for ASP.NET Core?
August 30, 2020 -

I'm new to go.

I've been through the tutorials and am comfortable with the language so far. I now want to write a web app (backend api).

But I think using go by itself will be difficult and probably a waste of time.

I typically use C# and ASP.NET Core - in which case there is a difference between the language (c#) and the web framework (asp.net core). ASP.NET does an incredible amount of stuff - config, ioc/di, auth, routing, validation, db work using an ORM, server-side rendering (if you want it), etc.

Is there an ASP.NET Core equivalent in the go world?

I found dozens of options, but can't tell which is the most stable and heavily used by the go community.

🌐
Reddit
reddit.com › r/dotnet › .net vs go vs node
r/dotnet on Reddit: .NET vs Go vs Node
October 4, 2022 -

Hey guys, I’m trying to decide and convince my superiors that .net is just as performant as Go or Node but I need some help.

SOME CONTEXT AROUND THE PROBLEM: We are trying to decide on a stack on GCP for a set of micro services. I am all for .net and postgresql / alloydb. We are planning to deploy the code on containers using Cloud Run.

The issue here is that my superiors think that .net is not as performant as go or node. IMO and all the research that I’ve done suggest that .net 6 is light years ahead of the previous versions and is completely capable of holding up against go or node.

My concern is also around the fact that code organization is so much better with c# compared to go or node. Simple things like IoC is better in c# vs go or node.

Any help on this is appreciated.

🌐
Reddit
reddit.com › r/golang › how does golang compare to asp.net core 6.0 + ef core 6.0 for backend web development?
r/golang on Reddit: How does Golang compare to ASP.NET Core 6.0 + EF Core 6.0 for backend web development?
June 23, 2022 -

I've been learning C# 10 and the .NET 6 ecosystem, however I feel that despite the large effort to minimize the "framework", an application made with pure .NET BCL (even without ASP.NET Core) is somewhat bloated, slow and hard to configure. C#10 has a lot of new modern features for coding yet still preserve old features from 5 years ago for the sake of backwards compatibility, resulting in a somewhat bloated language that has 10 ways of doing the same thing without being clear which one is the most optimal way.

This is my first impression after learning C# 10 and the .NET 6 BCL for a week, I haven't even gotten to ASP.NET Core yet, but with what I am learning now, I have a feeling that learning this humungous platform will take me years to have enough experience and knowledge for an entry level job as a backend .NET engineer.

Looking at jobs in my local area, Golang seems to also be used a lot for backend development. But it lacks the maturity that ASP.NET Core 6.0 has, the "framework" has a lot of integrated features that are coherent with one another and reduces a lot of the headache that comes with developing backend compared to other frameworks like Node.js. That's the general consensus I got from the community.

What are your thoughts on it? How does ASP.NET Core 6.0 compare to Golang for backend framework? Does Golang have an ORM like .NET has for Entity Framework? I'm absolutely frustrated by the convoluted monster that is .NET, but not sure if I should drop everything that I've learned so far and switch to a completely new language or if I should stick with .NET because I have already been learning it for some time.

EDIT: I should clarify in this post context, I'm not just referring to "GoLang", but rather the GoLang's ecosystem and popular backend framework used in Go. It's not clear to me which backend framework is used in Go, the community seems to be split on this. But on the C# side, there's really only one framework for backend development (ASP.NET Core). It's more easier to refer to ASP.NET Core specifically than it is to refer to C#.

Top answer
1 of 6
14
I'm mostly a Go developer, but recently helped a friend with some .NET core work. .NET WebApis are suprisingly easy. I don't care much for EF framework, but for simple web apps I could live with it. Dapper is always an option. WebApis give you swagger for free, routing via attributes is simple and dependency injection is built-in. It was easy to just focus on business logic. The dotnet CLI utility was good too. You don't need Visual Studio or Rider anymore. I didn't like WebApi projects not returning a standard payload. I prefer to send the same payloads structure, something like "struct { Code int, Error string, Data any}" regardless if the error is in middleware, server error, or logic error. Very hard to do in .NET. WebAPI sometimes sends a 500 error, sometimes plain text, other times a JSON response. I wouldn't even try to persuade you to move to Go. .NET Core is good. Go still wins out on simplicity. If you like the minimal APIs in .NET 6 Core, then that is what Go excels at. Go is better for smaller, lighter cross platform utilities. Go wins out on serverless too. You're not going to gain some magical productivity potion moving to Go. It's six, 1/2 a dozen of the other.
2 of 6
9
You certainly don't need to drop everything or switch. Learning new languages and other ways to solve problem is beneficial for developers. I started my career in .NET when it launched back in 2001. You're asking how's Go vs. .NET, it's simpler. I've seen junior developers fight to grasp all the concepts and "frameworks" that .NET offers. Of course once you've learned enough you're good. But Go's simplicity enables junior developers to be comfortable writing code 10x faster with Go. Like you're saying, it's a different way of thinking how to build your backend server. Go is simpler, it's recommended to go bottom-up, meaning starting with the standard library, forget about "frameworks" and learn what's HTTP request/response are all about. Than you'll have a much clearer idea of IF and WHAT you'd want as library or framework for your web application. Some people says it's faster to use framework, I don't agree. The amount of time you're reading framework's documentation and trying to work around things that they did. It's a huge cognitive investment frameworks are requiring. And .NET is at the other side of the spectrum. Yes you can do `dotnet new` and start from a template. But it takes time to learn this, you obviously don't need to know it all, but the amount of knowledge required on day 1 is bigger than Go's. As for EF, it's good, but again, learning to use SQL in my opinion is a much interesting skills than knowing how to build query with a proprietary DSL. Go's database access code is verbose and when coming from LINQ-styled query it can be a tad dirty. Again, it goes with are you looking at abstraction that hides the truth or you'd prefer to be more in control of what's going on with your program. I'm not implying one is better than the other, it's just a choice and sometimes one makes sense, other time it's the other way. That's the beauty of learning different stacks and languages. Bottom line, don't put an X on what you've learned. Continue to learn what interest you, if it's Go, go ahead. Regarding job applications anyway, a programmer with multiple languages that can speak fluently of them in an interview is still highly valuable. Good luck with your learning.
🌐
Reddit
reddit.com › r/dotnet › should i stick with asp.net or switch to go (golang) for backend development?
r/dotnet on Reddit: Should I stick with ASP.NET or switch to Go (Golang) for backend development?
June 15, 2024 -

Hi everyone,

I'd appreciate your input. I'm a programmer with about a year of experience in ASP.NET, primarily because it's what my current company uses. However, I'm really interested in Go (Golang) and am considering whether to shift my focus.

Currently, my role isn't fully focused on coding, but more on analysis. While I've delved into ASP.NET over the past year, Go seems to offer better performance for backend development. This has me torn between continuing to master ASP.NET or switching to Go.

I understand that many enterprises use ASP.NET, but I'm also aware of a trend towards Go for its performance, especially in startups and modern companies. I could be wrong, though, so I'd love to hear your thoughts and suggestions on which path might be more beneficial for my future as a developer.

Thanks!

🌐
Reddit
reddit.com › r/golang › choose go or asp.net core 3 to build a restful api
r/golang on Reddit: Choose GO or ASP.NET CORE 3 To Build A Restful API
May 1, 2020 -

Hi everyone,

I'm new GO learner, I'm so sorry if my question is bad.

Currently, I want to build a backend for an application which is used to listing properties and manage appointments...

I'm consider about building a restful API with ASP.NET CORE 3 or Go. After I review some docs, GO has a powerful thing is Gorountines are functions that run concurrently to resolve request. Instead of ASP.NET CORE, we will have to use Async to resolve requests in a Thread.

Gorountines will be resolved by less code?

Shoul I choose Echo or Gin for this app?

It would be helpful if you could provide suggestions or feedback.

Thank you so much for your time.

🌐
DEV Community
dev.to › kataras › go-vsnet-core-in-terms-of-http-performance
Go vs .NET Core in terms of HTTP performance - DEV Community
May 28, 2019 - Check out this discussion: reddit.com/r/golang/comments/57w79... ... ...former musician, voice actor, martial artist, started coding 38 years ago and turned front-end developer 25+ years ago. ... I think it's not entirely fair to compare a 100% compiled language like Go to one that runs on a JIT compiler like C#/.NET ...
🌐
Hacker News
news.ycombinator.com › item
Go vs .NET Core in terms of HTTP performance | Hacker News
August 24, 2017 - Besides, you don't really need a framework to develop programs for the Web in Go. It would be interesting to see this comparison with only `net/http` from the stdlib · EDIT: Apparently this post is also written by the author of Iris. I would be doubly careful
🌐
Quora
quora.com › Which-one-is-better-for-a-web-application-Net-Core-2-1-or-Golang-Why
Which one is better for a web application, .Net Core 2.1 or Golang? Why? - Quora
The reality is that the programmer’s choice of algorithms will have much greater impact over the performance of your application as opposed to the language. If you write a shitty algorithm in .net core, porting it to golang will have no impact on the performance.
🌐
Reddit
reddit.com › r/golang › should i move from c# to go?
r/golang on Reddit: Should I move from C# to Go?
October 14, 2022 -

In the last two years, I've worked with C# and the ASP.NET Core framework but I'm not happy with it. I feel the .net ecosystem has many abstractions over abstractions to keep the programming easy. But this makes the code poor because it's easy to do something that works but is hard to do something good. After all, the frameworks already made a lot of decisions that we need to conform with it.

During my programming learning, I've focused on learning more about how the technologies work. For example, when I learned about message queues, I focused on understanding the concepts of RabbitMQ and using libraries that are simple/straightforward with little boilerplate code. The same happened with distributed cache, I've learned about Redis strings and hashes without using the Microsoft abstractions, which treat everything as a key-value pair of strings and bytes.

The more I study the .net core more I feel suffocated because I can't make the decisions my software needs. On another side, my brother works with Go (golang), talking to him I feel that on Go side, almost everything is the programmer that studies and decides how to implement. It doesn't have the "Microsoft stuff done" that I need to swallow to work with it.

So I thinking of moving to Go, but I'm afraid of losing my "two years" of experience and not getting a new opportunity with Go. Another thing that worries me, is my age, I'm 28, and I sometimes think I shouldn't start learning another language because I'm an old junior dev.

What do you guys think? Is Go really how I'm seeing? It's worth moving?

🌐
Reddit
reddit.com › r/golang › .net says golang 6x times slower than .net and slower than nodejs
r/golang on Reddit: .NET says golang 6x times slower than .net and slower than nodejs
October 4, 2025 -

I'm not a fan of any language but I know that there are some advantages and disadvantages of languages and framework alongside platforms matter - PHP is slow, yes it is slow comparing to any other languages but if you setup frakenPHP or swoole then is may compare with other languages -

I was just visiting dotnet page and saw that there is benchmark says 6x times faster than go and go even slower than nodejs

Why is it like this ? I'm not saying this is wrong and they are lying but, what is the explanation of this ? What does matter most such test cases?

Sources:

- https://imgur.com/a/Dx5B2kt

- https://dotnet.microsoft.com/en-us/

🌐
Reddit
reddit.com › r/dotnet › what should i learn for backend - go or c#?
r/dotnet on Reddit: What should I learn for backend - Go or C#?
August 2, 2021 -

Hi everyone,

I've been learning front end dev for a while now (done with html/css/js, moving into react+nextjs) and then would really like to focus on backend.

After talking to alot of veterans, here's what I'm hearing:
- Learning node/express/fastify is a good default first step since I've learned JS for frontend, and these frameworks allow for good rapid development
- After growing comfortable with node, I want to learn a solid 2nd backend lang to become future-proof, and develop my projects in tandem using both langs, and this is where I'd appreciate your input. A veteran developer said that alot of companies are moving from java/c# to Go for their infra, (they use Go + NextJS). What do you see in your circles - is the move to Go obvious, or is .net core growing rapidly, or other thoughts?

My intent is to basically have my 2nd lang as Go or C# (really considered Python, but I somehow feel that Go or C# would be a better option for backend dev).

As a side question - postgresql or MSSQL?

In terms of my intent, primarily to develop startup apps that if they gain traction I want to grow.

🌐
Reddit
reddit.com › r/webdev › [oc] benchmark between go (v1.15.2) vs. .net core 5.0 (rc)
r/webdev on Reddit: [OC] Benchmark Between Go (v1.15.2) vs. .NET Core 5.0 (RC)
September 23, 2020 -

Heyas,

I wanted to know which framework to consider more seriously for a new backend, but seemed a lot of benchmarks were outdated, so I wrote one today, and I'll be honest: I haven't used either of these frameworks/technologies much at all in any recent years (Go minimally, and I used to be a .NET programmer around 2005).

Anyway, I'm not entirely sure if this test is completely fair or accurate, but I tried to match the code approach for each as closely as possible. For instance, there has been a lot of rave about .NET Core and its performance, but it seems to be waaaay slower than Go. Can anyone with some proficiency in .NET Core (Web APIs) take a quick look at the source code and see if I'm doing something completely wrong here? Is this possibly because .NET Core 5.0 is in RC (I tested both development and production builds), or because I'm running it on a Mac (it's "cross-platform", isn't it? ;p)?

I will probably add some other results to this benchmark soon, for instance .NET Core 3.0 (Stable), and also would like to test Java (with Spring Boot) against them, maybe Rust. I will also add some other concurrencies/max requests once I've confirmed the source code is on par with each other.

If anyone has any suggestions to modify the benchmark, or has questions on setting it up on their own platform, feel free to reply.

Update: Added JSON-only test to avoid hitting the DB/using any DB driver.

Update: Added Rust (actix-web framework) JSON-only test.

Source Code and Results:

https://github.com/rw3iss/Go-vs-.NETCore-5-Benchmark/

TL;DR:

Go (POST - Db Write):

Requests per second: 7475.72 [#/sec] (mean)

Go (GET - Db Read):

Requests per second: 8454.86 [#/sec] (mean)

Go (GET - JSON Only):

Requests per second: 34946.10 [#/sec] (mean)

.NET Core 5.0 RC (production build) (POST - Db Write):

Requests per second: 742.30 [#/sec] (mean)

.NET Core 5.0 RC (production build) (GET - Db Read):

Requests per second: 1172.63 [#/sec] (mean)

.NET Core 5.0 RC (production build) (GET - JSON Only):

Requests per second: 1488.64 [#/sec] (mean)

Update:

I've added a simple Rust - JSON Only read test to do a basic comparison:

Rust 1.42 (actix-web v3) (GET - JSON Only):

Requests per second: 15039.15 [#/sec] (mean)