Hacker News new | ask | show | jobs
by YuechenLi 25 days ago
Modern C# is a much more powerful and expressive language than Go: iterators, collection expressions, records, async await, source generator, much more powerful generics, low level memory management features like Span<T> and ref struct, etc. It is closer to C++ with opt out GC/opt in AoT than it is the old Java comparison days.

Go's advantage is mostly the fast compile speed, goroutines, profiling, and a very opinionated formatter. Neither has an overwhelming advantage over the other though.