Why can't .Net executable programs work on a system without .Net framework?
-
And if they can be, how? Can't any other less space-taking program/environment take its place? And why?
Wajeeha wrote:
Why can't .Net executable programs work on a system without .Net framework?
Because the framework contains the code that your application calls. Unless you write an application that makes zero calls into the framework. But even then it requires the CLR.
Wajeeha wrote:
And if they can be, how?
There are third party tools that encorporate what is needed into your application, but they are very expensive.
Wajeeha wrote:
Can't any other less space-taking program/environment take its place?
At the end of the day you have to consider what your priorities are. If you require a small footprint then you have to design to that consideration from the start. If you have already gone down the road of building the .NET application then you are probably stuck with that descision.
Wajeeha wrote:
And why?
Why what? I don't understand "why" in this context.
Recent blog posts: * Introduction to LINQ to XML (Part 1) - (Part 2) - (part 3) My website | Blog
-
Wajeeha wrote:
Why can't .Net executable programs work on a system without .Net framework?
Because the framework contains the code that your application calls. Unless you write an application that makes zero calls into the framework. But even then it requires the CLR.
Wajeeha wrote:
And if they can be, how?
There are third party tools that encorporate what is needed into your application, but they are very expensive.
Wajeeha wrote:
Can't any other less space-taking program/environment take its place?
At the end of the day you have to consider what your priorities are. If you require a small footprint then you have to design to that consideration from the start. If you have already gone down the road of building the .NET application then you are probably stuck with that descision.
Wajeeha wrote:
And why?
Why what? I don't understand "why" in this context.
Recent blog posts: * Introduction to LINQ to XML (Part 1) - (Part 2) - (part 3) My website | Blog
Microsoft Research have a compiler called Pheonix that can do a little bit of everything (eg compile all of the languages that MS support). It has been discussed to make it able to compile to native too. So it's not impossible that we will see a C# to native compiler from MS in the future..
-
Microsoft Research have a compiler called Pheonix that can do a little bit of everything (eg compile all of the languages that MS support). It has been discussed to make it able to compile to native too. So it's not impossible that we will see a C# to native compiler from MS in the future..
Roger Alsing wrote:
Pheonix
Is the one you are referring to? http://research.microsoft.com/phoenix/[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
Roger Alsing wrote:
Pheonix
Is the one you are referring to? http://research.microsoft.com/phoenix/[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonYes There is an interesting clip about it here: http://channel9.msdn.com/Showpost.aspx?postid=396461
-
And if they can be, how? Can't any other less space-taking program/environment take its place? And why?
-
And if they can be, how? Can't any other less space-taking program/environment take its place? And why?
Their are open-source 'wrappers' for the .NET framework that allow .NET applications (up to 2.0 as of right now) on other OSs such as linux, mac, and unix. A few to mention: Mono Portable .NET Read about them at: Wiki article on .NET Framework[^]
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios Discounted or Free Software for Students: DreamSpark - downloads.channel8.msdn.com MSDN Academic Alliance - www.msdnaa.com