web 2.0

.NET - Write Once, Run Anywhere?

Peter Galli at Port 25 posted an article yesterday stating that Microsoft will be applying the Community Promise to the ECMA 334 and ECMA 335 specs. After I read the article, I had to click on all the external links, read the descriptions and then go back and read the article a second time. In order to save you the same hassle, I looked up the ECMA specs and Community Promise, summarized them and pasted them below:

ECMA 334 is the international standard that specifies the form and establishes the interpretation of programs written in the C# programming language. The standard outlines the syntax, constraints, semantics and restrictions and limits imposed by the C# language.

ECMA 335 is the International Standard that defines the Common Language Infrastructure (CLI) in which applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications to take into consideration the unique characteristics of those environments.

The Microsoft Community Promise is a simple and clear way to assure that the broadest audience of developers and customers working with commercial or open source software can implement specifications through a simplified method of sharing of technical assets, while recognizing the legitimacy of intellectual property.

So what does all this mean? Well in a nutshell, it means that Microsoft has officially documented the C# language and will not legally pursue anyone who tries to re-implement C# so it can run in other operating systems. The goal is that if I write a C# application on Windows that I can also run it in Linux and vice-versa. Of course, this is something that the Mono project has been attempting for years but many people shied away from using it because they were afraid of implementing something that could possibly violate intellectual property and patent laws. Now that Microsoft has released the ECMA documents along with the Community Promise there should no longer be any hesitation for people to adopt Mono or other such products.

Tags:

Comments

Mobile Phones , on 12/17/2009 2:29:21 PM Said:

Mobile Phones

Great web site. Solid, helpful advice that you can benefit from and for free, it does not get much better than that. The web needs more sites like this one, please keep it up.

Bart czernicki , on 12/17/2009 2:29:21 PM Said:

Bart czernicki

They had to do this.  For example, Silverlight now or in the near future runs on: Azure, Windows, Firefox, Mac, XBOX, Windows Mobile 7...if they ever want people to start embracing C# or Silverlight as a platform this needed to happen.

Michael Ceranski , on 12/17/2009 2:29:21 PM Said:

Michael Ceranski

I agree that they needed to do it. I just hope that it is implemented properly on other OS'es. It always seems that vendors claim that their software runs on other systems but you have to jump through hoops first to make it work. I realize that you will have to avoid things like Windows API calls and things specific to Windows to ensure portability. But hopefully things will  just work without any configuration or fuss.

Seo Pakistan , on 12/17/2009 2:29:21 PM Said:

Seo Pakistan

This is an interesting website aimed at small buisness and entrepreneurse. Great site, I am always looking for new resources.

Comments are closed