ReactOS built in C# (crazy idea)

If it doesn't fit anywhere else, drop it in here. (not to be used as a chat/nonsense section)

Moderator: Moderator Team

EmuandCo
Developer
Posts: 4334
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: ReactOS built in C# (crazy idea)

Post by EmuandCo » Thu Sep 05, 2019 9:25 am

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.
Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

oldman
Posts: 1072
Joined: Sun Dec 20, 2009 1:23 pm

Re: ReactOS built in C# (crazy idea)

Post by oldman » 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.
Please keep the Windows classic (9x/2000) look and feel.
The layman's guides to - debugging - bug reporting - compiling - with some complementary scripts.
They may help you with a problem, so do have a look at them.

MadWolf
Posts: 540
Joined: Sat Dec 31, 2005 4:19 am
Contact:

Re: ReactOS built in C# (crazy idea)

Post by MadWolf » Mon Sep 09, 2019 7:31 pm

hi, are there any parts of ReactOS that can be written in c#?

mrmajik45
Posts: 343
Joined: Sun Sep 24, 2017 1:21 am
Location: USA, Indiana
Contact:

Re: ReactOS built in C# (crazy idea)

Post by mrmajik45 » Mon Sep 09, 2019 8:46 pm

Nein
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC

learn_more
Developer
Posts: 148
Joined: Fri Dec 19, 2014 10:00 pm

Re: ReactOS built in C# (crazy idea)

Post by learn_more » Mon Sep 09, 2019 9:28 pm

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.

EmuandCo
Developer
Posts: 4334
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: ReactOS built in C# (crazy idea)

Post by EmuandCo » Tue Sep 10, 2019 8:39 am

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.
Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

Lewis-H
Posts: 8
Joined: Fri Nov 22, 2019 10:07 am
Contact:

Re: ReactOS built in C# (crazy idea)

Post by Lewis-H » Wed Nov 27, 2019 3:45 pm

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

EmuandCo
Developer
Posts: 4334
Joined: Sun Nov 28, 2004 7:52 pm
Location: Germany, Bavaria, Steinfeld
Contact:

Re: ReactOS built in C# (crazy idea)

Post by EmuandCo » Wed Nov 27, 2019 5:26 pm

Well, it will not run as we don't ship any .net by default. You can install it from RAPPS though.
Image
ReactOS is still in alpha stage, meaning it is not feature-complete and is recommended only for evaluation and testing purposes.

dizt3mp3r
Posts: 1450
Joined: Mon Jun 14, 2010 5:54 pm

Re: ReactOS built in C# (crazy idea)

Post by dizt3mp3r » Wed Nov 27, 2019 5:51 pm

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.

shunesburg
Posts: 162
Joined: Wed Feb 21, 2018 3:46 pm
Location: Somewhere in France

Re: ReactOS built in C# (crazy idea)

Post by shunesburg » Thu Nov 28, 2019 2:58 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest