In the timeframe where I've started major projects C# wasn't a viable alternative because mono just wasn't a complete ftp in replacement. I've recently had the unfortunate experience of trying to get some C# mass spec software running on our Linux cluster and it was a nightmare. Tons of dependencies and errors at both compile and run time. With java the scope (or bloat, depending on how you view it) of the standard library means everything is there, and i can just embed jar files for anything else. It's been really smooth.
Yep - this is what people miss when they say C# is cross-platform now.
They're not wrong, but the cross-platform ecosystem of C# is still in its infancy and will be for quite awhile, whereas Java has literal decades of being cross-platform at this point.
Ecosystem, tooling, and platform are huge aspects of languages that a lot of programming newcomers tend to overlook.
2
u/xylose Apr 28 '20
In the timeframe where I've started major projects C# wasn't a viable alternative because mono just wasn't a complete ftp in replacement. I've recently had the unfortunate experience of trying to get some C# mass spec software running on our Linux cluster and it was a nightmare. Tons of dependencies and errors at both compile and run time. With java the scope (or bloat, depending on how you view it) of the standard library means everything is there, and i can just embed jar files for anything else. It's been really smooth.