Re:What factors led to the development of C# in spite of Java
by itsboring on Monday June 25, 2012 @03:07AM
(#4155456)
In the case of iOS, the code gets AOT-compiled and any unused bytecode is stripped out. Mono is statically linked in and adds about 6mb at the minimum.
On desktop, the necessary parts of the mono runtime would just be included with the distribution package; much like any other DLL. I don't think any developer in their right mind would ask people to download the mono installer. On the plus side, this doesn't pollute their system with registry entries or system files.
It's clearly not optimal to have that overhead, but it was preferential to porting to each platform in this case.
Something that seems to be a disadvantage with Java over native builds is the way it complicates the task flow for users trying to install your software. Either they have to download a large distribution that includes the JVM inside it (are distributors even allowed to redistribute Java like this?) or else they have to download and install the JVM, and then configure their new application to point to it.
How does this work when you're using c#?