C Sharp: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
m (CSharp moved to C Sharp: Better name)
(+About the article name)
Line 1: Line 1:
<p style="margin-left:2em; font-size:smaller;">Please note that the correct title of this article is C#, however because of technical restrictions it's called "C Sharp".</p>

{{Stub}}
{{Stub}}


'''C#''' (or '''C Sharp''') is an object-oriented programming language developed by Microsoft and standardized by the ECMA and ISO. It's syntax is similar to [[C_PlusPlus|C++]], but with significant differences in functionality. It is a higher-level language than C++ or C, and therefore less suitable to be used to build a kernel. C# is build on top of [[Common Language Infrastructure]], therefore you need a thin CLI layer on top of pure hardware in order to use it or translate the CIL into native machine code.
C# is an object-oriented programming language developed by Microsoft and standardized by the ECMA and ISO. It's syntax is similar to [[C_PlusPlus|C++]], but with significant differences in functionality. It is a higher-level language than C++ or C, and therefore less suitable to be used to build a kernel. C# is build on top of [[Common Language Infrastructure]], therefore you need a thin CLI layer on top of pure hardware in order to use it or translate the CIL into native machine code.


== C# as a kernel language ==
== C# as a kernel language ==

Revision as of 08:27, 10 July 2009

Please note that the correct title of this article is C#, however because of technical restrictions it's called "C Sharp".

This page is a stub.
You can help the wiki by accurately adding more contents to it.

C# is an object-oriented programming language developed by Microsoft and standardized by the ECMA and ISO. It's syntax is similar to C++, but with significant differences in functionality. It is a higher-level language than C++ or C, and therefore less suitable to be used to build a kernel. C# is build on top of Common Language Infrastructure, therefore you need a thin CLI layer on top of pure hardware in order to use it or translate the CIL into native machine code.

C# as a kernel language

When not using any of the .Net Framework's classes and methods, C# can be used to do some low-level programming. But this requires some intermediate layer to translate the CIL code into machine-code.

Several attempts to create operating systems in C# have been done, most notably SharpOS, Cosmos and Microsoft's own Singularity. Each has a different CIL to machine-code system. Whereas SharpOS and Cosmos each have an AOT compiler implementation (SharpOS AOT and IL2CPU respectively), for Singularity the developers created the Sing# language, which is derived from C# and compiled using the Bartok compiler.

See Also

Articles

External Links

  • C# on Wikipedia