News for hackers. Stuff that matters.
Re:What's new in the .NET 11 runtime by jojogeo on Wednesday November 11, 2026 @09:39AM (#50454003)
I'm curious why you would consider C# not right for a CLI? There are some jagged edges with xplat support (e.g. System.Environment.SetEnvironmentVariable had/has issues on Linux, haven't checked recently), but IMHO its pretty solid for composing CLIs.
Re:What's new in the .NET 11 runtime by CharlieDigital on Wednesday November 11, 2026 @09:48AM (#50454119)
It's "OK", but the benefits of Rust or Go are undeniable here: faster startup, smaller package, likely lower memory footprint by default.

You can get C# to match Rust or Go, but those would require going off the beaten path and you might as well use Rust or Go.

I think C# CLI for internal tooling that is only used by an existing C# codebase makes perfect sense. As a standalone tool that's being shipped for multiple platforms, it would be better to use Rust or Go since those will give smaller native binaries and default better performance profiles in speed and memory usage.

I think backend web APIs are where .NET shines.

Re:What's new in the .NET 11 runtime by jojogeo on Thursday November 12, 2026 @04:47AM (#50465081)
Ahh nice, food for thought thank you!