Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is System programming like writing a compiler or operating system possible in C#.NET?
Is it possible to program equally like assembly language or C,C++?
because we have heard that UNIX operating system is written using C language . Does C#.NET has equal capability?
Posted

See this CP article http://www.codeproject.com/Articles/99928/Develop-Your-Own-Operating-System-in-C-or-VB-NET
 
Share this answer
 
Compiler: yes. Complicated, but all good compilers are.
Operating system? Sort of "yes" but with lots of restrictions and caveats.

The problem with writing an OS in C# is that C# requires the whole of .NET to be installed: which requires Windows to be installed, so your OS will sit on top of the .NET framework, which sits on top of Windows in order to run - it'd work, but it would be a bit of a major waste of resources...:laugh:

For OS (or compiler) writing, you are probably better off with native code rather than .NET based.
 
Share this answer
 
System programming at Wikipedia[^].
C# is not well suited for system programming (C and C++ are).
So you don't use C# for developing an Operative System while no one prevents you writing a compiler using C# (developing a compiler is not a system programming task).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900