I'm a Systems Reliability and DevOps engineer for Netdata Inc. When not working, I enjoy studying linguistics and history, playing video games, and cooking all kinds of international cuisine.
There’s another huge advantage to Go over C# and Java that I often do not see mentioned: It does not require a special runtime on the target system.
Java needs a JVM install, C# needs a CLR install (usually .NET, sometimes Mono), but if you build things right, Go needs absolutely nothing beyond the basic OS.
Not sure about Java, but dotnet apps can be self-contained (they include the runtime) and you can now do trimming to lower the resulting file size somewhat. Nevertheless, this is usually not a concern since having a runtime ready to run your compiled application is pretty much a ubiquitous practice empowered by docker.
Its a different thing. Golang compile directly to machine code. Self contained executables in dotnet uses the clr embedded to final deploy. Go solution is very small and statically compiled.
Dotnet can be compiled to machinecode for most platforms too. But the self-contained, compiled AOT and trimmed file is still quite a bit larger than a Golang package.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There’s another huge advantage to Go over C# and Java that I often do not see mentioned: It does not require a special runtime on the target system.
Java needs a JVM install, C# needs a CLR install (usually .NET, sometimes Mono), but if you build things right, Go needs absolutely nothing beyond the basic OS.
Not sure about Java, but dotnet apps can be self-contained (they include the runtime) and you can now do trimming to lower the resulting file size somewhat. Nevertheless, this is usually not a concern since having a runtime ready to run your compiled application is pretty much a ubiquitous practice empowered by docker.
Its a different thing. Golang compile directly to machine code. Self contained executables in dotnet uses the clr embedded to final deploy. Go solution is very small and statically compiled.
Dotnet can be compiled to machinecode for most platforms too. But the self-contained, compiled AOT and trimmed file is still quite a bit larger than a Golang package.