3 ms·
Yes, Java definitely has an advantage over C# because it's multi-platform. Granted C# really has done a great job of adding nice features that I wish were in J
by melling 16y ago
Yes, Java definitely has an advantage over C# because it's multi-platform. Granted C# really has done a great job of adding nice features that I wish were in Java...
This kind of story seems to happen when committees are involved, and there is an overarching need for backwards compatibility. Closures in Java arrive in 2012. 2013 at the latest.
- icey 16y agoWhat platform does Java run on that C# doesn't? Perhaps you meant to say that DirectX isn't multi-platform?
- melling 16y agoMono does give you the ability to run C# code everywhere. So, correct, it's not the language itself that's preventing you to write C# once, run everywhere. Perhaps you understood where I was going in the first place? Anyway, people choose Java because they can write once and deploy everywhere. If you write in the C# .Net ecosystem on Windows, it won't run everywhere, which is fine if Windows is your only target.
- icey 16y agoI don't understand where you're going, no. I write C# on Windows and deploy to Linux and Mac pretty regularly. I know someone who writes C# on Windows and deploys to Arduino. C# seems to be roughly as portable as Java does to me these days. I'm sure I could be wrong, which is why I'm asking which places you can run Java that you can't run C#. Yes, you can write non-portable C# code, but you can write non-portable code in every language.
- melling 16y agoI'll have to take a look. Which UI toolkit do you recommend? http://www.mono-project.com/Gui_Toolkits http://www.mono-project.com/Gui_Toolkits
- icey 16y agoI mostly do web & server-side development so I'm not sure my opinion is going to be terribly valuable there. However, I think many people use GTK# because it's the most mature.
- ZoFreX 16y agoCan you run C# on FreeBSD?
- deleted 16y ago[deleted]
- viraptor 16y agohttp://www.mono-project.com/Mono:FreeBSD http://www.mono-project.com/Mono:FreeBSD <- that should be really a lmgtfy link...
- rtaycher 16y agoI think it's also that more people trust the (openjdk/sunjdk) as a high performance vm with tons of money spent on developing an excellent gc and jit with a ton compared to mono. Although on the other hand its true that many people use an interpreter/vm like ruby 1.8 without much trouble.
- barrkel 16y agoWith Mono bringing C# to iOS, all 3 major phone platforms are covered. How far does Java get you - 1/3? I routinely run my C#-written utilities on Solaris, of all things.