Hacker News new | ask | show | jobs
by neonsunset 785 days ago
Little reason to use Go here. C# is a much better language at allowing you to tactically write high-performance low-level code where it matters and relying on higher level abstractions when it's not (struct generics are just like in Rust allowing you to expend a little effort for achieving zero-cost abstractions, although not as convenient as just using objects everywhere).

Go is inadequate, poorly typed, has abysmal FFI overhead and bloated binary sizes as it does no metadata compression and other tricks C#'s AOT compilation does.

1 comments

With Go, I can easily cross-compile a statically linked binary for each of the major platforms.

You cannot do that with C#.

Cross compilation story in C# is very good actually.
With Go, I can use my Linux CI server to compile a statically linked binary for MacOS.
You can publish across platforms with modern .NET