2 ms·
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 h
by neonsunset 3y 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.
- paulddraper 3y agoWith Go, I can easily cross-compile a statically linked binary for each of the major platforms. You cannot do that with C#.
- posix_monad 3y agoCross compilation story in C# is very good actually.
- paulddraper 3y agoWith Go, I can use my Linux CI server to compile a statically linked binary for MacOS.
- posix_monad 3y agoYou can publish across platforms with modern .NET