News for hackers. Stuff that matters.
Re:Are We Modules Yet? by neonsunset on Wednesday May 01, 2024 @01:20PM (#40226298)
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.

Re:Are We Modules Yet? by paulddraper on Wednesday May 01, 2024 @01:24PM (#40226359)
With Go, I can easily cross-compile a statically linked binary for each of the major platforms.

You cannot do that with C#.

Re:Are We Modules Yet? by posix_monad on Wednesday May 01, 2024 @01:33PM (#40226481)
Cross compilation story in C# is very good actually.
Re:Are We Modules Yet? by paulddraper on Wednesday May 01, 2024 @01:35PM (#40226505)
With Go, I can use my Linux CI server to compile a statically linked binary for MacOS.
Re:Are We Modules Yet? by posix_monad on Wednesday May 01, 2024 @02:02PM (#40226896)
You can publish across platforms with modern .NET