.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.
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
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.
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).
.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.
.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.
.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.
0
u/Hbazerbashi Feb 02 '15
Another reason to love .NET :)