Linked by Thom Holwerda on Sun 11th Jan 2009 10:54 UTC, submitted by Hiev
Mono Project Arstechnica reports that Mono, an open source implementation of .NET runtime, is bringing Microsoft's development technologies to some unexpected places, including the iPhone, Android, and the Wii.
Permalink for comment 343134
To read all comments associated with this story, please click here.
lsls
Member since:
2006-11-13

The origin of this whole discussion is this ambiguous sentence:

I mean come on, don't you find it odd that your Mono apps compile to exe and dlls with the need for a Windows like registry on Linux/Mac?


I think everybody is interpreting this sentence as "Mono compiles to exe/dll, and due to this fact, it needs a Windows like registry". Interpreted in this way, the sentence is obviously wrong, since Mono nor .NET require the registry to locate and load exe/dlls (and that's why the GAC was introduced in the discussion).

After reading your replies, I think you were using exe/dll and the registry as two independent examples of Windows technology brought to Linux/Mac. Interpreted in this way, the validity of the sentence is also debatable.

I personally don't find anything odd about using dll/exe in Linux. At least not odder than using .class or other extensions tied to languages or frameworks. Exe/dll files are based on the Portable Executable (PE) format, which is used by Windows, but not deeply tied to it (in fact, it is based on a modified version of the Unix COFF file format).

About the registry, if you want to imply that you need the registry to write .net applications, that's not true. The .NET framework includes classes for accessing the registry, but you don't need to use them. The System.Configuration api provides all you need for reading/writing application settings, and you are not forced to read/write configuration files from "Program Files". The settings infrastructure stores user specific settings into the users directory. Visual Studio even has a visual designer for managing application settings. In any case, the settings infrastructure is fully pluggable and could use a database backed if you wanted. You'll find more info here: http://msdn.microsoft.com/en-us/library/8eyb2ct1(VS.80).aspx

Reply Parent Score: 2