[Mono-dev] [Mono-devel-list] Operating System in C# Project

William Lahti xfurious at gmail.com
Thu Sep 28 14:04:13 EDT 2006

Hello, Suresh!

Your managed OS idea intrigues me. I have been working on a
Linux-based OS which uses C# solutions for as much of the high-level
(non-OS level) stuff like the boot agent, toolkit, OS tools, etc.
Perhaps that code would be usefuI for your project? I have been
considering doing C# rewrites of UNIX tools too.

In any case, I am very interested in this project and would like to

Kernel and user space code translation shouldn't be all too difficult,
considering mono does just that. Assuming the translated code would
still require a runtime, mono's AOT facilities could handle this.

As for the runtime being managed-- that depends on the ability to
translate the entirety of it's CIL to 100% unmanaged code (without
runtime-support). I'd say this is where the real challenge is.

Yeah, the ability to generate fully-native executable files instead of
shared libraries when invoking AOT compilation... perhaps instead of a
new tool, this change could be implemented as another mono runtime
compilation option like AOT (IE, mono --native or such). This would
minimize the amount of redundant work, and since it would be right in
the runtime, the checks for runtime-dependent code would probably be
easier/complete. It would also provide a way to create unmanaged ELF
executables based on C# software.

Another idea: a subset of C# could be defined so the compiler can
report runtime-dependent code as errors...

On 9/28/06, Suresh Shukla <skshukla_ncr at yahoo.co.in> wrote:
> This is very interesting idea.
> I had been thinking about this for some time. To bring the language
> cleanliness and clarity of Java / C# down to OS layer.
> The OS I have in my focus is mikrokernel based distributed servers
> architecture, actually MINIX. Minix brings many best practices and
> cleanliness from OS side.
> In my opinion a compiler for generating native code from C# would be
> required. Then the task could boil down to a port/rewrite of MINIX.
> Suresh
>  ________________________________
>  Find out what India is talking about on - Yahoo! Answers India
>  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get
> it NOW
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list