News for hackers. Stuff that matters.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by WDCDev on Friday April 03, 2015 @08:31AM (#9315462)
I get the feeling MS is heading towards Windows running on a MS Linux kernel at some point.

An MS linux build, that supports .NET (CoreCLR) and a true cross platform windowing library (WPF) would be serious force to contend with in both the enterprise and consumer markets.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by danieldk on Friday April 03, 2015 @08:46AM (#9315535)
I get the feeling MS is heading towards Windows running on a MS Linux kernel at some point.

What would be the point? The NT kernel has a newer architecture than the Linux kernel and build upon Dave Cutler's experience with VMS (which could already benefit from learning from Unix).

Open sourcing the NT kernel does make a lot of sense though, since it would be easier to integrate Windows in Xen, KVM, and other virtualization infrastructure.

They will probably end up taking an Apple-like approach. Open bits where it is strategic and keep some bits closed to sell Windows licenses. It 'only' took a new CEO to do the rational thing.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by nly on Friday April 03, 2015 @09:12AM (#9315632)
"newer architecture" doesn't really mean much. Microsoft have to maintain a more rigid overall structure because they are committed to third-party binary compatibility wrt drivers and such. As a result, major architectural shifts in things like networking or graphics (XP -> Vista) cause a lot of pain.

It's a trade-off. Linux looks floppy architecturally because it can afford to be.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by userulluipeste on Friday April 03, 2015 @10:31AM (#9316053)
"Open sourcing the NT kernel does make a lot of sense though, since it would be easier to integrate Windows in Xen, KVM, and other virtualization infrastructure."

If you're interested in an open-source NT kernel, you might be interested in ReactOS. Although their target comprises development of the entire OS, their main task was the NT kernel and "the glue" with existing parts of Win32 sub-system developed by Wine.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by jeswin on Friday April 03, 2015 @08:45AM (#9315522)
I did think sometime back that this was a possibility, but not anymore.

- Windows sells because it works with every hardware device ever made. Linux does not even come close to that level of hardware support. There is no way those drivers will run on MS Linux kernel.

- None of Microsoft's top money making apps are built with .Net; Office, Visual Studio or Sql Server are mostly C++. So it isn't as easy as porting .Net over to Linux.

- Windows Driver development tooling is way ahead of Linux. So while we all love Linux, throwing away the entire Windows kernel is a bad idea.

- The Windows NT kernel is not an awkward piece of engineering. While different from the *nix, it is actually quite respectable.

- Add: MS mobile device strategy too is based on the NT kernel. They are not going to be an Android theme.

What they really wanna do is make windows more text-shell friendly, and perhaps Open Source the NT kernel. But more than anything else, I just want Microsoft to switch sides when it comes to Patents and IP extortion.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by jebblue on Friday April 03, 2015 @10:02AM (#9315900)
>> Windows sells because it works with every hardware device ever made. Linux does not even come close to that level of hardware support.

In my own experience on over a dozen computers since 2000 when I started to get serious about Linux and especially the past 7 to 8 years...Linux driver support exceeds Windows.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by StillBored on Friday April 03, 2015 @12:43PM (#9316871)
Well, i'm not so lucky.

With windows, its likely the base OS may not even be able to install on a piece of hardware without a driver update CD, but the driver support is fantastic. Its possible to run XP on a lot of modern hardware because companies like nvidia continue to make drivers for XP. That is not possible with any linux distribution from that time frame.

The opposite also exists, I have a baytrail tablet I picked up over Christmas. It runs win8.1 just fine, and will sort of boot the latest bleeding edge ubuntu, but the wifi still doesn't work (as of a couple weeks ago), nor does the SD controller, and a few other things are suboptimal.

There are also whole product lines that still don't work in linux (see the USB3 displaylink based products) even years after their initial release.

Plus, linux tends to put users in a sticky situation. For example at work I have a fairly recent intel based platform, that doesn't work 100% in the older (still supported) SLES environment we use by default. That is because the drivers need to be backported by SUSE and they aren't exactly on the ball about it (same thing for the LTS releases of ubuntu).

I'm a pretty strong believer that linux needs to decouple the drivers from the core kernel. I don't necessarily want to upgrade my whole OS platform just because I got a new piece of hardware. This is especially true on stable platforms. Thankfully companies like emulex do a good job of providing two dozen different drivers for different versions of linux. They and a few other companies are the exception not the rule.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by XorNot on Friday April 03, 2015 @10:15AM (#9315962)
Agreed. Linux and the packaging systems of it's distros have become amazing for driver support these days.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by WDCDev on Friday April 03, 2015 @08:48AM (#9315541)
I don't think MS would abandon the NT kernel. Both version of Windows could exist side-by-side and organizations would have to choose which one they would want to adopt.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by CD1212 on Friday April 03, 2015 @08:58AM (#9315573)
I thought the latest Visual Studio was built with WPF and therefore C#. Is that not correct?
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by stuartd on Friday April 03, 2015 @09:27AM (#9315701)
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by alexvoda on Friday April 03, 2015 @09:55AM (#9315866)
Yes, Visual Studio since 2010 is built with WPF so at least a large part of Visual Studio is based on .Net . Also at least some parts of SQL Server depend on .Net. About Office I'm not sure.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by higherpurpose on Friday April 03, 2015 @08:55AM (#9315564)
If they are going to use a completely different kernel anyway, why bother with Linux? Why not create something more innovative, and this time with solid security in mind.

There was an article here a few months ago about 5 (?) new innovative operating systems that have security in mind. One was MirageOS and there was another one I liked - something about resource starvation - but I can't remember the name now.

There's also the Ethos OS, that comes with the "encrypted by default" MinimaLT networking stack, and so on.

I'd be much more excited about a "new" Windows that's open source and is truly built for the 21st century with (cyber-) security in mind, than just dumping the old Windows onto the Linux kernel (and I bet they won't even bother to implement grsec in that, if they do it, because it's yet another patched-up solution for an unsecure kernel, that breaks a lot of stuff).

It would also be lovely if this new kernel was built with Rust or some other type-safe language.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by Jweb_Guru on Friday April 03, 2015 @08:40PM (#9319408)
Microsoft Research has numerous languages that provide many, many more guarantees than Rust. If Microsoft were to design a completely new kernel, I'd be fairly disappointed if they didn't do it in something Z3 Boogie based like Dafny.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by cwyers on Friday April 03, 2015 @08:58AM (#9315576)
Microsoft Research is still building Midori:

http://en.m.wikipedia.org/wiki/Midori_%28operating_system%29

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by brudgers on Friday April 03, 2015 @08:40AM (#9315505)
The odds that Windows will become based on Linux seems pretty low to me. There are advantages of Windows architecture, e.g. PowerShell and similar reflection technologies that are unlikely to be implemented in *nix OS's. Engineering tradeoffs happen on both sides.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by akoeplinger on Friday April 03, 2015 @08:45AM (#9315524)
There's already a PowerShell implementation for *nix: https://github.com/Pash-Project/Pash
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by brudgers on Friday April 03, 2015 @09:46AM (#9315816)
It depends on what one's definition of "is" is. From the top of the link:

  An Open Source reimplementation of Windows 
  PowerShell, for Mono.
Mono is not *nix and PowerShell provides direct access to [nearly?] the entire Windows OS.

More from the project page:

  Status

  Alpha. This project is useful in certain constrained 
  applications, e.g. the NuGet Console in Xamarin Studio.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by akoeplinger on Friday April 03, 2015 @10:04AM (#9315917)
I just wanted to point out that there's nothing that inherently ties PowerShell to Windows (as expected, it's just a shell after all).

> PowerShell provides direct access to [nearly?] the entire Windows OS

PS has access to the .NET Framework which abstracts the OS APIs, not really to Windows directly.

There's also chatter that MS is already working on porting PowerShell to CoreCLR/.NET Core (the cross-plat, open-source version of .NET).

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by brudgers on Friday April 03, 2015 @10:26AM (#9316029)
The abstraction layer is 'thinner' with Windows. With *nix we're dealing with serializing text with regexes or parsers or both coming in and deserializing to text on the way out.

It's a bit of a Turing tarpit when it comes to non-inherency.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by ZenoArrow on Friday April 03, 2015 @11:58AM (#9316576)
Couple of points:

1. PowerShell reimplements older commands as aliases, e.g. ls is an alias for Get-ChildItem. You'd not be relying on existing shell functionality.

2. I don't know much about it, but wouldn't the upcoming Linux IPC improvements being made to support kdbus do away with needing to handle message passing in the way you describe?

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by brudgers on Friday April 03, 2015 @12:52PM (#9316930)
PowerShell's get-childItem returns something on which get-methods can be called. How will the improved IPC create an easy systematic way of creating meaningful responses to "get-methods" system-wide?
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by ZenoArrow on Friday April 03, 2015 @01:24PM (#9317150)
dbus makes use of a type system to describe messages passed over it. kdbus is an implementation of dbus at the lowest level of the OS. The IPC improvements to support kdbus will be made at the kernel level. At a higher level, systemd will make use of these same processes, so it's not purely internal to the kernel. Therefore, there's no restriction on building an object-oriented approach to interfacing with the OS, which is what PowerShell uses.

Perhaps my logic is off, or my view is missing key information, but from my novice perspective it seems to make sense.

If you're interested, this page has more information on the type system used in dbus: http://dbus.freedesktop.org/doc/dbus-specification.html#type...

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by brudgers on Friday April 03, 2015 @01:44PM (#9317253)
I think it would require rewriting a lot of existing 'nix code to achieve the level of OS integration that PowerShell provides for Windows, that's aside from the level of integration PowerShell has with many Windows applications [e.g. Office].

Microsoft has been integrating interprocess communication into Windows since DDE in version 2.0 almost 30 years ago. Then more than a decade of OLE. Then more than a decade of .NET. At this point it and the reflection it enables are baked into the toolchain and pretty much comes along for free on a project. *nix has many advantages but everybody rowing in the same direction is not among them.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by cwyers on Friday April 03, 2015 @08:41AM (#9315511)
Microsoft already has an OS that is "competitive" in those markets, if by competitive you mean 90% or more market share on the desktop,which is where WPF makes sense. The NT kernel has its advantages, not least of which is driver support and the ability to run large amounts of existing software. Who benefits from changing kernels?
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by WDCDev on Friday April 03, 2015 @08:45AM (#9315527)
Microsoft does. An MS Linux kernel opens Windows to all the native server side applications that can't run on Windows now.
Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by danieldk on Friday April 03, 2015 @08:48AM (#9315543)
What applications cannot run with a small POSIX compatibility layer? Or perhaps even simpler - emulating Linux system calls, as recently shown. (Yes, it would help if they implemented fork().)

They will never give up a kernel architecture that is more modern and that is not tainted (from their perspective) by the GPL.

Re:Microsoft: An Open Source Windows Is 'Definitely Possible' by WDCDev on Friday April 03, 2015 @08:53AM (#9315560)
You would still have to purchase the Windows license. Also, why would you run say something like Redis, on Windows through a compatibility layer ... when you can just run it on Ubuntu or Cent instead?

Sure, if you are already committed to Windows then that makes sense. But if you are starting fresh then you don't choose Windows, and that is the dilemma MS is facing.