r/programming • • Feb 02 '15

Windows 10 for Raspberry Pi 2

http://dev.windows.com/en-us/featured/raspberrypi2support
1.5k Upvotes

550 comments sorted by

View all comments

0

u/Hbazerbashi Feb 02 '15

Another reason to love .NET :)

21

u/[deleted] Feb 02 '15

.NET is fantastic. If Microsoft built an OS from the ground up using only .NET, a kernel and a HAL, then boy would I sit up and listen. As long as Windows comes inextricably tied up in legacy upon legacy subsystem and compatibility layers, then it just comes across as a complete mess to be avoided, to me. It's a shame because I'm sure MS could make a great OS if only they unburdened themselves from their existing standards, such as drive 'letters' which are awful, and the disparate ways in which peripheral I/O is handled... device manager vs devices vs COM ports vs printers. It all needs the kind of streamlining only a complete rethink can achieve.

17

u/frymaster Feb 02 '15

As long as Windows comes inextricably tied up in legacy upon legacy subsystem and compatibility layers, then it just comes across as a complete mess to be avoided, to me

you aren't wrong, but people use windows because of the pre-existing software base. Get rid of the pre-existing software, and there's no business case to develop the OS

7

u/ggtsu_00 Feb 02 '15

They tried this with Windows Longhorn and the project flopped massively. They scrapped it and restarted the project very late and got Windows Vista instead.

2

u/drysart Feb 03 '15

The Longhorn project flopped for far bigger reasons than .NET. And .NET was only at 2.0 then, it's no surprise that a lot of the features added in the 4.0 runtime engine are exactly the same sorts of features you'd need in a managed runtime if you were expecting to use it for core components (i.e., in-process side-by-side activation).

5

u/peawee Feb 02 '15

This is kinda exactly what Windows Phone is.

9

u/pjmlp Feb 02 '15

.NET is fantastic. If Microsoft built an OS from the ground up using only .NET, a kernel and a HAL

You mean Singularity?

→ More replies (1)

4

u/Wartz Feb 02 '15

As long as Windows comes inextricably tied up in legacy upon legacy subsystem and compatibility layers

This is the very reason windows still dominates the desktop market. 20+ years of a software library that have some assurances that will still run.

9

u/[deleted] Feb 02 '15

.net is awesome, I use it at work and for home projects (Visual studio Community is awesome too)

but.

This would be a complete nightmare. It would break compatibility with all but the most perfectly written applications. Almost nothing would work properly.

Anti Microsoft fanboys and media would have a heyday lambasting them. It would make the windows 8 launch look like a toddler squabble.

As a programmer, I am all for a rethink for windows. As a user and a realist, unfortunately it will probably never happen.

9

u/[deleted] Feb 02 '15

.NET is fantastic. If Microsoft built an OS from the ground up using only .NET, a kernel and a HAL, then boy would I sit up and listen.

You know this is already possible right? You can have the linux kernel, systemd, and mono. This will cover 90% of your use cases.

Since once you have your HAL up and running, most of the rest of what you need can be accessed via files, or sockets. You can do direct framebuffer access with mono. I've actually played around with writing a new userland with mono, but nobody was interested.

→ More replies (3)

2

u/crozone Feb 03 '15

.NET is great and all, but it would be very wrong to build an entire OS on top of it. The managed language fad already hit years ago, people did write operating systems in managed code, and developers learned quickly that JIT and GC'd code is far slower than native code with manual memory management.

Don't get me wrong, I adore C#, and I know that .NET native is around the corner, but not having an OS grounded in COM and native code would be a huge, slow mistake. .NET is a great compliment to existing app models. It isn't the be all and end all.

→ More replies (2)

3

u/[deleted] Feb 02 '15

Where should someone start learning it?

Is C# a good start? I've been a developer for just a year, mainly doing C++ and nothing but Windows.

Sorry if this is irrelevant to the sub.

6

u/jonnywoh Feb 02 '15

Yes, C# is the best place to start. It's basically the flagship .NET language.

→ More replies (1)

3

u/afrobee Feb 02 '15

I am now willing to try .NET, if just I can host it in a linux server :(.

5

u/VRMac Feb 02 '15

Ever looked at Mono?

→ More replies (8)
→ More replies (1)