1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Why Mono Is Desirable For Linux

Ciprian Khlud

Published on 14 September 2012
Written by Ciprian Khlud
Page 2 of 2 - 314 Comments

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.

Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. Intel's Latest Linux Graphics Code Competes Against OS X 10.9
  2. Intel Sandy Bridge Gets A Surprise Boost From Linux 3.17
  3. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
  4. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
Latest Linux News
  1. Mesa 10.3 Branched & RC1 Released, Mesa 10.4 On Master
  2. Intel Sandy Bridge Gains On Linux 3.17 Extend Beyond Graphics
  3. LinuxCon: What's Going On With Fedora.Next
  4. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
  5. EFL 1.11 Is A Big Milestone For Enlightenment Users
  6. DirectFB Updates GTK3 Support, Working Towards DirectFB 1.8
  7. Userptr Support Set For AMD Radeon GPUs In Linux 3.18
  8. NVIDIA Releases CUDA 6.5 As A Huge Update
  9. GNOME 3.14 Beta Makes GLSL Optional, Supports Wayland Gesture/Touch Events
  10. The Many Things You Can Build With A Raspberry Pi
Latest Forum Discussions
  1. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations
  2. Systemd 216 Piles On More Features, Aims For New User-Space VT
  3. ATI CrossFire Does Not Support On This Platform When Enabling (Ubuntu Lucid)
  4. Dead Island for Linux (?)
  5. The dangers of Linux kernel development
  6. Remote gui not accessible in Phoronix Test Suite 5.2
  7. Updated and Optimized Ubuntu Free Graphics Drivers
  8. Next-Gen OpenGL To Be Announced Next Month