4 ms·
C#, which is faster than Go with better features (parametric polymorphism, classes, interfaces, the works). Go's support for concurrency is nothing very novel
by seanmcdirmid 13y ago
C#, which is faster than Go with better features (parametric polymorphism, classes, interfaces, the works).
Go's support for concurrency is nothing very novel and has nothing to do with its language design. Green threads have been around forever, and many platforms support thread pools.
- deleted 13y ago[deleted]
- leaveyou 13y ago"C# is faster than Go" do you have some links to prove that statement ? I'm really interested because in all the benchmarks I saw, C# seemed much more slower.
- seanmcdirmid 13y agoI haven't seen any head to head comparisons about Go, I just know that C# is generally faster than the JVM (on Windows at least, not Mono), while Go is known to be slower than Java. If you have something that says otherwise, it would be nice to see. Also, I think .NET can optimize generic class instantiations (one advantage in forgoing type erasure), but I'm not sure.
- NateDad 13y agoC# is a very good language. It's also ridiculously huge. There are so many language features, you could use a new one in every class and not run out until you'd rewritten Windows. I worked in C# for a decade, and I still have to go look up how some of the features work. Try getting new people up to speed in the language... you'll still be teaching them language features years into their careers.... I know because I did it. It's not a bad language, it's just that it suffers from feature bloat, like many things Microsoft does, and that makes for code that is very difficult to maintain.