473,395 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

.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 2048
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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.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.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googleg roups.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.nospamwrote in message
news:eO*************@TK2MSFTNGP02.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.google groups.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********@starkinvestments.cemwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nospamwrote in message
news:eO*************@TK2MSFTNGP02.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googl egroups.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 #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.nospamwrote in message
news:eA**************@TK2MSFTNGP05.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********@starkinvestments.cemwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
>Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nospamwrote in message
news:eO*************@TK2MSFTNGP02.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl.. .
MS has builds that work/worked in Linux, and Mac called "Rotor".

Schneider

"Scott M." <s-***@nospam.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.comwrote in message
news:11**********************@s48g2000cws.goog legroups.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 #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********@starkinvestments.cemwrote in message
news:uf**************@TK2MSFTNGP03.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.nospamwrote in message
news:eA**************@TK2MSFTNGP05.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********@starkinvestments.cemwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
>>Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nospamwrote in message
news:eO*************@TK2MSFTNGP02.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl. ..
MS has builds that work/worked in Linux, and Mac called "Rotor".
>
Schneider
>
"Scott M." <s-***@nospam.nospamwrote in message
news:u4**************@TK2MSFTNGP04.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*******@gmail.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 #8
Thanks Chris,

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

Schneider

"Chris Mullins [MVP]" <cm******@yahoo.comwrote in message
news:OI**************@TK2MSFTNGP05.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********@starkinvestments.cemwrote in message
news:uf**************@TK2MSFTNGP03.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.nospamwrote in message
news:eA**************@TK2MSFTNGP05.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********@starkinvestments.cemwrote in message
news:Ox**************@TK2MSFTNGP02.phx.gbl...
Scott is correct, I just wanted to indicate that it was/can be done.

Schenider

"Scott M." <s-***@nospam.nospamwrote in message
news:eO*************@TK2MSFTNGP02.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********@starkinvestments.cemwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl.. .
>MS has builds that work/worked in Linux, and Mac called "Rotor".
>>
>Schneider
>>
>"Scott M." <s-***@nospam.nospamwrote in message
>news:u4**************@TK2MSFTNGP04.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*******@gmail.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 27 '07 #9

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

Similar topics

14
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...
16
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.