Do you know what? I still have the tools like Visual Studio that my company offers. With paid plugins (which sadly are not opensource), you are more productive than most of the environments said before. Some are getting close(r) (I talk here mostly about Java tools, which are really great like IntelliJ IDEA, Eclipse and NetBeans, and to not forget QtCreator), but still a developer as myself, doing all day C#, will do best C#. And if I have free time and I can make an application with C# and target Gtk#, and see if it compiles in MonoDevelop for Windows, it will mostly work on Linux. I don't have to write fancy Linux/Windows codes.
Another reason why is desirable to use C#, is that, without wanting to give specific numbers, C# tends to be faster to write, and in practice, the speed of the application you cannot see it slower, without a stopwatch. If an application is profiled in C#, and even Mono offers a primitive profiler, on Windows I do recommend using SharpDevelop that it has a visual pie-like profiler, you can get really speedy applications. Some people complain on GC, that you can have "visual glitches because GC hits", after you open a file, an operation that the user expects that it can take some time, the program can do a silent full GC. If the user does a small operation, like changing the color of a note, clearing the generation zero GC, is imperceptible for most users (on a phone takes like 3-4 ms, on a desktop machine is in 1 ms range) and make that GC pauses are less frequent. Those kinds of tricks for performance driven code, and what user expects are in fact on any language, platforms. Constant references are recommended and used widely in Qt APIs to give a good performance and the C++ compiler can optimize better based on this information.
Part 2 - Worst Case Scenario
Let's say in 3 years from now, company X attacks Xamarin or Mono project about an obscure patent claim that states that an operation in your program is not allowed. In this hypothetic case, the way you save the notes, they are saved using a future API that can save the notes as they are based on an annotation [Serializable]. This would impact a lot of software in Mono. But as trials are, they will likely attack Xamarin, not my software. Which is the outcome? Xamarin will start the legal battle that will take time. Even if I will be 100% sure that Xamarin it will lose and it will remove this specific functionality, nothing stops me to find another opensource project that does the salvation of the data in different format (to not rewrite by myself). That's it.
What it would be more strange, it would be that sometimes some operations (like Entity Framework, discussed in a separate post, that do use annotations to store everything in a database) are known for most database developers how to do it (maybe in a less efficient way) for close to a decade, so the impact of removing Entity tomorrow from Mono will impact a little the software that works with a database, as they would need to rewrite this functionality by themselves. In a repetitive way, of course, but not out of reach.
The issue is at least for Free/OSS not paid developers is:
- How can I invest my free time to create software a person can use?
- Which tool can give the end-user experience that user expects? Is it Gtk?
More things about the author: Ciprian Khlud it is a Senion Software Engineer who writes code using C#, little Delphi, legacy code in VB6, etc. at Litera Corp, a company specialized in Legal Documents Software.
Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.