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

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

Re: ReactOS built in C# (crazy idea)

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

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

Re: ReactOS built in C# (crazy idea)

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

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

Re: ReactOS built in C# (crazy idea)

Post by MadWolf »

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

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

Re: ReactOS built in C# (crazy idea)

Post by mrmajik45 »

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

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

Re: ReactOS built in C# (crazy idea)

Post 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.

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

Re: ReactOS built in C# (crazy idea)

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

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

Re: ReactOS built in C# (crazy idea)

Post 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

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

Re: ReactOS built in C# (crazy idea)

Post by EmuandCo »

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

User avatar
dizt3mp3r
Posts: 1601
Joined: Mon Jun 14, 2010 5:54 pm

Re: ReactOS built in C# (crazy idea)

Post 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.
Skillset: VMS sysadmin 20 years, fault Tolerance, cluster, Vax, Alpha, ftSparc. DCL, QB45, VB6, NET, PHP, JS, CMS, Graphics, Project Manager, DOS, Windows admin from 1985. Quad Electronics. Classic cars & motorbikes. Artist watercolours. Historian.

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

Re: ReactOS built in C# (crazy idea)

Post 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.

xpert
Posts: 223
Joined: Mon Jan 21, 2008 5:10 pm
Location: Germany
Contact:

Re: ReactOS built in C# (crazy idea)

Post by xpert »

This thread is old and waste of time...

LOCKED 🔒

Locked

Who is online

Users browsing this forum: Trendiction [Bot] and 3 guests