Compile One, run Everywhere

  • Thread starter Thread starter Michel Racicot
  • Start date Start date
M

Michel Racicot

Ok, I heard that C# code was supposed to run on many platforms/OS, as long
as you have the CLR installed.

Where can I download the CLR for other OS?

Thank you
 
Thank you very much! ^_^ That was exactly was I was looking for!

How good is Mono? From what I understand, assemblies like
"Microsoft.Directx" won't work... what about System.Windows.Forms?

Is there some kind of support in the CLR for OpenGL?
 
At the moment neither MONO nor ROTOR have WindowsForms implemented.
I read on the MONO website that they seem like planing WindowsForms package.
For the ROTOR I haven't seen anything about this. WindowsForms is not in the
list of what they are planing to implement.

So, it looks like for now will only have console apps for the other
platforms.
Anyway AFAIK paltform independence has never been priority for .NET and MS

B\rgds
100
 
Michel:

As far as How Good Mono is....anywhere from Superp to limited depending on
what you want to do. In a nutshell, it's very well suited to layers other
than the presentation layer. I run it on my Linux server and have a lot of
fun using it.

As far as Compile once though............ Yes, it works, provided you 'keep
it real' when programming. Don't think WinAPI calls, registry settings, and
things like ControlChars are going to port real well. Using the
Environment Namespace will do a lot to help you write agnostic code..... ie
Environment.NewLine vs. ControlChars.CrLf and the like. One cool thing I
noticed though is that since config files are XML based, you can store a
buttload of stuff in them and run it everywhere. Also, Mono is still be
worked on but so is the whole Framework. Trust me on this..go ahead and
download and play with it a little. I think you'll dig it.
 
Back
Top