C Sharp: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Cic (talk | contribs)
m Killing "PlusPlus"
Line 8: Line 8:
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.
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.
Several attempts to create operating systems in C# have been done, most notably [http://sourceforge.net/projects/sharpos/ SharpOS], [http://www.gocosmos.org/index.en.aspx Cosmos] and Microsoft's own [http://research.microsoft.com/en-us/projects/singularity/ Singularity]. Each has a different CIL to machine-code system. Whereas SharpOS and Cosmos each have an AOT compiler implementation ([http://en.wikipedia.org/wiki/SharpOS_AOT_%28compiler%29 SharpOS AOT] and [http://www.gocosmos.org/Docs/Dev/IL2CPU/index.EN.aspx IL2CPU] respectively), for Singularity the developers created the [http://en.wikipedia.org/wiki/Sing_Sharp Sing#] language, which is derived from C# and compiled using the [http://en.wikipedia.org/wiki/Bartok_%28compiler%29 Bartok] compiler.


== See Also ==
== See Also ==

Revision as of 16:18, 20 December 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