473,609 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET platform independence ?

If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32 api,
how
is platform independence going to be achieved then.

Thanks

Joel

Jan 26 '07 #1
8 2062
No, .NET development is meant for the Windows platform. While there are
movements out there to have .NET run on non-Windows platforms, these are not
MS's intention for .NET.
"Joel" <jo*******@gmai l.comwrote in message
news:11******** **************@ s48g2000cws.goo glegroups.com.. .
If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32 api,
how
is platform independence going to be achieved then.

Thanks

Joel

Jan 26 '07 #2
MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:u4******** ******@TK2MSFTN GP04.phx.gbl...
No, .NET development is meant for the Windows platform. While there are
movements out there to have .NET run on non-Windows platforms, these are
not MS's intention for .NET.
"Joel" <jo*******@gmai l.comwrote in message
news:11******** **************@ s48g2000cws.goo glegroups.com.. .
>If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32 api,
how
is platform independence going to be achieved then.

Thanks

Joel


Jan 26 '07 #3
Yes, but these are not standard parts of the .NET Framework. To be sure,
..NET was initially developed solely for Windows development with web
services being the bridge to other platforms.
"schneider" <es********@sta rkinvestments.c emwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:u4******** ******@TK2MSFTN GP04.phx.gbl...
>No, .NET development is meant for the Windows platform. While there are
movements out there to have .NET run on non-Windows platforms, these are
not MS's intention for .NET.
"Joel" <jo*******@gmai l.comwrote in message
news:11******* *************** @s48g2000cws.go oglegroups.com. ..
>>If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32 api,
how
is platform independence going to be achieved then.

Thanks

Joel



Jan 26 '07 #4
Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eO******** *****@TK2MSFTNG P02.phx.gbl...
Yes, but these are not standard parts of the .NET Framework. To be sure,
.NET was initially developed solely for Windows development with web
services being the bridge to other platforms.
"schneider" <es********@sta rkinvestments.c emwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:u4******* *******@TK2MSFT NGP04.phx.gbl.. .
>>No, .NET development is meant for the Windows platform. While there are
movements out there to have .NET run on non-Windows platforms, these are
not MS's intention for .NET.
"Joel" <jo*******@gmai l.comwrote in message
news:11****** *************** *@s48g2000cws.g ooglegroups.com ...
If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32 api,
how
is platform independence going to be achieved then.

Thanks

Joel



Jan 26 '07 #5
I thought I indicated the same in my first response:

"While there are movements out there to have .NET run on non-Windows
platforms, these are
not MS's intention for .NET."
"schneider" <es********@sta rkinvestments.c emwrote in message
news:Ox******** ******@TK2MSFTN GP02.phx.gbl...
Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eO******** *****@TK2MSFTNG P02.phx.gbl...
>Yes, but these are not standard parts of the .NET Framework. To be sure,
.NET was initially developed solely for Windows development with web
services being the bridge to other platforms.
"schneider" <es********@sta rkinvestments.c emwrote in message
news:%2******* *********@TK2MS FTNGP05.phx.gbl ...
>>MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:u4****** ********@TK2MSF TNGP04.phx.gbl. ..
No, .NET development is meant for the Windows platform. While there
are movements out there to have .NET run on non-Windows platforms,
these are not MS's intention for .NET.
"Joel" <jo*******@gmai l.comwrote in message
news:11***** *************** **@s48g2000cws. googlegroups.co m...
If I'm not wrong, .NET generates MSIL which can be executed by the CLR
on any machine because the code is managed, but what if a programmer
decides to use a bit of unmanaged code, say a feature of the win32
api,
how
is platform independence going to be achieved then.
>
Thanks
>
Joel
>




Jan 26 '07 #6
Relax, you mentioned movements, I am pointing out the specific movements.
Also ASP.NET is running on linux.

MS "Rotor"
http://msdn.microsoft.com/msdnmag/is...aredsourcecli/

Mono
http://www.mono-project.com/Main_Page

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eA******** ******@TK2MSFTN GP05.phx.gbl...
>I thought I indicated the same in my first response:

"While there are movements out there to have .NET run on non-Windows
platforms, these are
not MS's intention for .NET."
"schneider" <es********@sta rkinvestments.c emwrote in message
news:Ox******** ******@TK2MSFTN GP02.phx.gbl...
>Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eO******* ******@TK2MSFTN GP02.phx.gbl...
>>Yes, but these are not standard parts of the .NET Framework. To be
sure, .NET was initially developed solely for Windows development with
web services being the bridge to other platforms.
"schneider" <es********@sta rkinvestments.c emwrote in message
news:%2****** **********@TK2M SFTNGP05.phx.gb l...
MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:u4***** *********@TK2MS FTNGP04.phx.gbl ...
No, .NET development is meant for the Windows platform. While there
are movements out there to have .NET run on non-Windows platforms,
these are not MS's intention for .NET.
>
>
"Joel" <jo*******@gmai l.comwrote in message
news:11**** *************** ***@s48g2000cws .googlegroups.c om...
>If I'm not wrong, .NET generates MSIL which can be executed by the
>CLR
>on any machine because the code is managed, but what if a programmer
>decides to use a bit of unmanaged code, say a feature of the win32
>api,
>how
>is platform independence going to be achieved then.
>>
>Thanks
>>
>Joel
>>
>
>




Jan 26 '07 #7
Don't forget the .NET Compact Framework, which runs on a wide variety of
hardware platforms - Smartphones, PDA's, etc. This includes a number of
physical processor types.

There's also the CLR that's shipping with WPF/e (currently in CTP status) -
that's a "subset of the CLR" (probably similar to the Compact Framework)
that's indended to run on a number of platforms, including the Mac.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#
http://www.coversant.net/blogs/cmullins

"schneider" <es********@sta rkinvestments.c emwrote in message
news:uf******** ******@TK2MSFTN GP03.phx.gbl...
Relax, you mentioned movements, I am pointing out the specific movements.
Also ASP.NET is running on linux.

MS "Rotor"
http://msdn.microsoft.com/msdnmag/is...aredsourcecli/

Mono
http://www.mono-project.com/Main_Page

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eA******** ******@TK2MSFTN GP05.phx.gbl...
>>I thought I indicated the same in my first response:

"While there are movements out there to have .NET run on non-Windows
platforms, these are
not MS's intention for .NET."
"schneider" <es********@sta rkinvestments.c emwrote in message
news:Ox******* *******@TK2MSFT NGP02.phx.gbl.. .
>>Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eO****** *******@TK2MSFT NGP02.phx.gbl.. .
Yes, but these are not standard parts of the .NET Framework. To be
sure, .NET was initially developed solely for Windows development with
web services being the bridge to other platforms.
"schneider " <es********@sta rkinvestments.c emwrote in message
news:%2***** ***********@TK2 MSFTNGP05.phx.g bl...
MS has builds that work/worked in Linux, and Mac called "Rotor".
>
Schneider
>
"Scott M." <s-***@nospam.nosp amwrote in message
news:u4**** **********@TK2M SFTNGP04.phx.gb l...
>No, .NET development is meant for the Windows platform. While there
>are movements out there to have .NET run on non-Windows platforms,
>these are not MS's intention for .NET.
>>
>>
>"Joel" <jo*******@gmai l.comwrote in message
>news:11*** *************** ****@s48g2000cw s.googlegroups. com...
>>If I'm not wrong, .NET generates MSIL which can be executed by the
>>CLR
>>on any machine because the code is managed, but what if a programmer
>>decides to use a bit of unmanaged code, say a feature of the win32
>>api,
>>how
>>is platform independence going to be achieved then.
>>>
>>Thanks
>>>
>>Joel
>>>
>>
>>
>
>




Jan 26 '07 #8
Thanks Chris,

Don't know why I always forget the Compact Framework...

Schneider

"Chris Mullins [MVP]" <cm******@yahoo .comwrote in message
news:OI******** ******@TK2MSFTN GP05.phx.gbl...
Don't forget the .NET Compact Framework, which runs on a wide variety of
hardware platforms - Smartphones, PDA's, etc. This includes a number of
physical processor types.

There's also the CLR that's shipping with WPF/e (currently in CTP
status) - that's a "subset of the CLR" (probably similar to the Compact
Framework) that's indended to run on a number of platforms, including the
Mac.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#
http://www.coversant.net/blogs/cmullins

"schneider" <es********@sta rkinvestments.c emwrote in message
news:uf******** ******@TK2MSFTN GP03.phx.gbl...
>Relax, you mentioned movements, I am pointing out the specific movements.
Also ASP.NET is running on linux.

MS "Rotor"
http://msdn.microsoft.com/msdnmag/is...aredsourcecli/

Mono
http://www.mono-project.com/Main_Page

Schneider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eA******* *******@TK2MSFT NGP05.phx.gbl.. .
>>>I thought I indicated the same in my first response:

"While there are movements out there to have .NET run on non-Windows
platforms, these are
not MS's intention for .NET."
"schneider" <es********@sta rkinvestments.c emwrote in message
news:Ox****** ********@TK2MSF TNGP02.phx.gbl. ..
Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nosp amwrote in message
news:eO***** ********@TK2MSF TNGP02.phx.gbl. ..
Yes, but these are not standard parts of the .NET Framework. To be
sure, .NET was initially developed solely for Windows development with
web services being the bridge to other platforms.
>
>
"schneide r" <es********@sta rkinvestments.c emwrote in message
news:%2**** ************@TK 2MSFTNGP05.phx. gbl...
>MS has builds that work/worked in Linux, and Mac called "Rotor".
>>
>Schneide r
>>
>"Scott M." <s-***@nospam.nosp amwrote in message
>news:u4*** ***********@TK2 MSFTNGP04.phx.g bl...
>>No, .NET development is meant for the Windows platform. While there
>>are movements out there to have .NET run on non-Windows platforms,
>>these are not MS's intention for .NET.
>>>
>>>
>>"Joel" <jo*******@gmai l.comwrote in message
>>news:11** *************** *****@s48g2000c ws.googlegroups .com...
>>>If I'm not wrong, .NET generates MSIL which can be executed by the
>>>CLR
>>>on any machine because the code is managed, but what if a
>>>programm er
>>>decide s to use a bit of unmanaged code, say a feature of the win32
>>>api,
>>>how
>>>is platform independence going to be achieved then.
>>>>
>>>Thanks
>>>>
>>>Joel
>>>>
>>>
>>>
>>
>>
>
>




Jan 27 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2119
by: John Salerno | last post by:
Bear with me, but I've been reading a lot about how the .NET languages are platform independent, and I assume this means a program written in C# can be run on a Unix or Mac machine. If this assumption is wrong, then nevermind! :) But if it's true, what will be necessary to run these programs on a Mac, for example? I know they would need an equivalent to the .NET Framework, but does something like this exist yet, or is the "platform...
16
3908
by: Andy | last post by:
Hi, I have read that 'C' is platform-independent and portable. I can'tsee much a difference between the two terms. Could anyone differentiate the two? Also is the statement actually true? Thanks Andy
0
8527
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5509
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4015
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2529
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.