Page 3 of 3

Re: ReactOS built in C# (crazy idea)

Posted: Thu Sep 05, 2019 9:25 am
by EmuandCo
ROCKNROLLKID wrote:
Thu Sep 05, 2019 7:52 am
EmuandCo wrote:
Wed Sep 04, 2019 2:33 pm
The opinion mentioned above is still valid and will not change C# is a toy for user mode and not for a OS kernel/core
SharpOS and Cosmos would disagree with that.

However, I agree ReactOS should stay with C/Assembly. If anything, I would rather see it rewritten in Rust or Go. C/C++ is the most popular as it is usually the first recommended to anyone wanting to start programming in colleges/universities.
I am no fan of the idea to pay the laziness of develpers and the ease of debugging with the massive amount of performance you loose by using a runtime built language like C# or Java. Just arguing with we have enough resources to throw outta the window is no argument for me. Assembly is massively minimized by now and replaced by C code. Why? That way it's far easier to port to other architectures. But C/C++ must stay. As soon as .net runs flawless we might allow .net for user mode stuff, but not more. Not my decision though.

Re: ReactOS built in C# (crazy idea)

Posted: Thu Sep 05, 2019 7:25 pm
by oldman
Has no one noticed?
Re: ReactOS built in C# (crazy idea)

Post by Z98 » Wed Jun 08, 2011 11:16 pm
I'd like to see you execute a text file of assembly code.
8 years later
Breinstorm
Posts: 1
Joined: Wed Sep 04, 2019 8:53 am

Re: ReactOS built in C# (crazy idea)

Post by Breinstorm » Wed Sep 04, 2019 8:55 am
And no request from any responder, not to resurrect old topics.

Re: ReactOS built in C# (crazy idea)

Posted: Mon Sep 09, 2019 7:31 pm
by MadWolf
hi, are there any parts of ReactOS that can be written in c#?

Re: ReactOS built in C# (crazy idea)

Posted: Mon Sep 09, 2019 8:46 pm
by mrmajik45
Nein

Re: ReactOS built in C# (crazy idea)

Posted: Mon Sep 09, 2019 9:28 pm
by learn_more
MadWolf wrote:
Mon Sep 09, 2019 7:31 pm
hi, are there any parts of ReactOS that can be written in c#?
There are multiple parts, but doing that would mean that we'd either need to ship pre-compiled binaries,
or include a c# compiler in rosbe,
and include the .net runtime in a default install.

Re: ReactOS built in C# (crazy idea)

Posted: Tue Sep 10, 2019 8:39 am
by EmuandCo
oldman wrote:
Thu Sep 05, 2019 7:25 pm
Has no one noticed?
Re: ReactOS built in C# (crazy idea)

Post by Z98 » Wed Jun 08, 2011 11:16 pm
I'd like to see you execute a text file of assembly code.
8 years later
Breinstorm
Posts: 1
Joined: Wed Sep 04, 2019 8:53 am

Re: ReactOS built in C# (crazy idea)

Post by Breinstorm » Wed Sep 04, 2019 8:55 am
And no request from any responder, not to resurrect old topics.
Oh I noticed, but I kept it alive because I knew this would be an interesting discussion.

Re: ReactOS built in C# (crazy idea)

Posted: Wed Nov 27, 2019 3:45 pm
by Lewis-H
A very simple C# application shall be used to demonstrate the general operational capability.

using System;
using System.Reflection;

namespace ConsoleApp01
{
public class ConsoleApp01
{
public static void Main(string[] args)
{
Console.WriteLine("");
Console.WriteLine("");
Console.WriteLine("Hello from ReactOS on " + Environment.MachineName + "!");
Console.WriteLine("OS Version: " + Environment.OSVersion);
Console.WriteLine("Image runtime Version: " +
Assembly.GetExecutingAssembly().ImageRuntimeVersion.ToString());
Console.WriteLine("Environment Version: " + Environment.Version.ToString());
Console.WriteLine("Setup information: " + AppDomain.CurrentDomain.SetupInformation);
Console.WriteLine("");
Console.Write("Press any key to continue...");
Console.ReadKey();
}
}
}
Hope this code runs!
Regards,
Lewis

Re: ReactOS built in C# (crazy idea)

Posted: Wed Nov 27, 2019 5:26 pm
by EmuandCo
Well, it will not run as we don't ship any .net by default. You can install it from RAPPS though.

Re: ReactOS built in C# (crazy idea)

Posted: Wed Nov 27, 2019 5:51 pm
by dizt3mp3r
I am not sure whether people understand that a .NET program needs to run on a framework in order to take advantage of what that framework offers. The framework needs to be present in order for the program to operate so in the proposed case, the framework would have to be running before the o/s was started, so it would have to be running on another o/s already that can support .NET.

Chicken and the egg comes to mind.

For this to occur .NET would have to be part of the bootstrap process at least and bootable, for it to extend to become an operating system itself and provide all that an o/s offers with regard to resources, I suppose you could call it NETdows or WindyNET. However, building an operating system from scratch just to support a .NET language in order to write another operating system from scratch makes no sense, ie. nonsense.

Re: ReactOS built in C# (crazy idea)

Posted: Thu Nov 28, 2019 2:58 pm
by shunesburg
ReactOS built in C#, is not the question for the moment. The real question is the development of the unimplemented features, and the development is already in C/C+ and ASM. The rewriting would be a loss of manpower for no progress. But in the future when ReactOS will be release in stable version, why not.

Re: ReactOS built in C# (crazy idea)

Posted: Sat Apr 25, 2020 8:19 pm
by xpert
This thread is old and waste of time...

LOCKED 🔒