tags:

views:

464

answers:

3

Hello,

I was reading about Singularity and it was developed in part with C#, but how can I develop a operatin system in part with C#?(because the boot loader needs to be in Assembly, that I know) the thing that I want to know is where to start(tutorial, library...)?

PS: Congratulations to the Singularity developers, very nice job! ;)

+4  A: 

Renraku is an open source project to create an OS using .NET technologies as much as possible. This post has a link to the source on GitHub.

Greg Hewgill
But there is some tutorials about this?
Nathan Campos
I don't think so, it's a nascent open source project but may be instructive for you.
Greg Hewgill
Huh, thanks for your comment.
Nathan Campos
+2  A: 

The major difference between an operating system that runs on managed code vs. one that runs directly on machine code is really nothing more than having a byte-code interpreter at a very low level that processes all byte code sent to it and translates to the corresponding machine code. Once that exists, the various operating system components would be implemented in pretty much the same way as they would in a traditional OS.

Ryan Brunner
+2  A: 

Just because you write your program in c# it doesn't have to be compiled to IL. Writing a c# to machine code compiler can be done and last time I saw an OS written in C# that was exactly what they had done

Rune FS