3 ms·
What's silly about running .NET on Linux? If C# is a decent language on its own, and Mono is a decent way to run it (neither of which I'm completely sure of, bu
by mikeash 15y ago
What's silly about running .NET on Linux? If C# is a decent language on its own, and Mono is a decent way to run it (neither of which I'm completely sure of, but I think that's the case) then it seems like it could be a fine choice.
- latch 15y agoHonestly, it's a pill I simply haven't swallowed. I'll admit I'm a ton less apprehensive now that they've been forced to split from Novel. The risk of them being shut down (and then what?) always bothered me..now we know, and it doesn't look so bad. If I have compelling need for a static language (performance?), I'm not sure if I'd pick C#, Java/Scala. But I maintain that all three are less productive than Ruby/Python, so unless you are building Cassandra/Lucene/Redis/Nginx/... I won't be too compelled about performance arguments.
- rbanffy 15y ago> and Mono is a decent way to run it I had consistently better performance running the same (CPU-bound, little IO) program on Windows Server than running it on Mono/Linux. I did that in 2005, so, YMMV. Why would you pick C# over, say, Objective-C, Go or Java if you intend to run your software on Linux?
- mikeash 15y agoI imagine things have changed in seven years, although I won't say that Linux would win. C# is definitely better than Java as a language. It's arguably better than Objective-C (whose main advantage is ease of talking to C APIs), and I have no idea about Go but I imagine there are probably decent reasons to prefer C# over it at least in some cases.
- rbanffy 15y agoThere is another point to be made: with the enormously rich language ecosystem that runs so well on the Linux platform, why limit oneself to the subset that runs well on Windows?
- mikeash 15y agoSure. I'm just saying that if C# is actually a better language than the alternatives (and it does seem pretty good, but I'm not that familiar with it) and if C# integrates with Linux as well as the rest, then it would be a decent, not-silly choice. I'm sure there are plenty of reasons why you'd choose something else instead though. But I don't think it's necessarily silly to choose C# on Linux purely on the merits of the language, nothing to do with Windows.
- rbanffy 15y agoI don't think Linux integration is that good - Ubuntu just released a Mono-free OS release (you can install it, if you want, but it doesn't come installed by default) - and I wouldn't bet on it getting better. I'm kind of curious about languages such as Vala and Go and how they compare to C# and Java.