Will Compiled .NET Modules Run On LINUX Platforms?
I attended a Visual Studio .NET seminar at a Microsoft training center. They made a claim that I found hard to believe. They said...
1) THE COMPILED MODULE WILL BE EXACTLY THE SAME WHETHER IT WAS WRITTEN IN VB OR C+ OR WHATEVER.
2) THE COMPILED MODULE WILL BE EXECUTABLE ON ANY PLATFORM.
My question that sparked #2 was specifically addressing Linux.
QUESTION 1 - Are these statements true (or "probably" true)?
QUESTION 2 - If the answer to #1 is YES, would MS's Visual Studio .NET be a good choice to develop the UI for a vertical application incorporating web services that I want to run on both Window and Linux platforms?
I tinkered with that Mono for a bit.
1) The bug list is... well... significant
2) They aren't officially following Microsofts C#, they are following the standard. I guess that's enough said about that. Dev Studio might work in the future, might not.
As for VB vs. C#, we wrote a small TCP port listener (like a network sniffer) mostly out of idle curiosity in VB, then the same in C#. The binaries were not "identical". So then I found this guy: http://builder.com.com/5100-6373-1027686.html He came up with something similar. How tight do you need it. The compiled version is pretty darn close.
So far, Microsoft hasn't released Linux support for .NET, although it is certainly possible.
The Linux crew is working on the Mono project, but if/when it will be generally available is unknown, and whether it will actually run .NET compiled code or just give a compatible environment is still up for grabs too.