C Sharp: Difference between revisions
[unchecked revision] | [unchecked revision] |
(+About the article name) |
m (Killing "PlusPlus") |
||
Line 3: | Line 3: | ||
{{Stub}} |
{{Stub}} |
||
C# is an object-oriented programming language developed by Microsoft and standardized by the ECMA and ISO. It's syntax is similar to [[ |
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 == |
== C# as a kernel language == |
Revision as of 08:49, 10 July 2009
Please note that the correct title of this article is C#, however because of technical restrictions it's called "C Sharp".
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