News for hackers. Stuff that matters.
Re:Was Rust Worth It? by hutattedonmyarm on Thursday October 26, 2023 @03:18AM (#38022692)
Is it? Every time I see C# being mentioned here people agree how awesome it is. Not that I'm complaining, I love C#
Re:Was Rust Worth It? by GuestHNUser on Thursday October 26, 2023 @04:01AM (#38022979)
Agreed. I feel C# is appropriately rated on HN and other programming forums. It has perfomant memory options that other GC languages lack, and great builtin packages to use. Overall, it is a good language.

My biggest issue with C# though is how badly exceptions are handled given that it is a statically typed langauge. I wish functions explicitly defined the exceptions it can throw since a minor package bump could add an exception without your compiler warning you that it isn't handled. I much prefer Rust, Go and Zig's error handling to C#'s since those kind of issues don't happen.

Re:Was Rust Worth It? by pjmlp on Thursday October 26, 2023 @04:43AM (#38023232)
> It has perfomant memory options that other GC languages lack, and great builtin packages to use.

As clarification for the audience, it isn't the only GC enabled language with C and C++ like capabilities, in fact there are several examples since the early 1980's.

The adoption push for Java and scripting languages distorced the understanding of what was already available out there.

Re:Was Rust Worth It? by Rapzid on Thursday October 26, 2023 @04:40AM (#38023222)
Well, I see it as lack of fanboyism which is interesting and almost unique to the Java/C# ecosystem. A lot C# experts(and I mean REAL, low level experts) seem to also have very high Java expertise..

And those that have Java expertise but not C# seem to demur to those that do; image!

But it's still niche(around here and in the startup world) and gets lumped in with Java and together they are not "hip" or "agile" or whatever.